pub struct Owner { /* private fields */ }Expand description
Request descriptor for reservations related to one Gingr owner/customer record.
Implementations§
Source§impl Owner
impl Owner
Sourcepub const LOCATION_SCOPE_CAVEAT: &'static str = Animal::LOCATION_SCOPE_CAVEAT
pub const LOCATION_SCOPE_CAVEAT: &'static str = Animal::LOCATION_SCOPE_CAVEAT
Notes that Gingr scopes this lookup to the API user’s current location.
Sourcepub fn builder() -> OwnerBuilder
pub fn builder() -> OwnerBuilder
Starts a builder that makes each provider parameter explicit before request capture.
Trait Implementations§
Source§impl Request for Owner
impl Request for Owner
Source§fn path(&self) -> &'static str
fn path(&self) -> &'static str
Returns the Gingr API path used for request capture and transport.
Source§fn parameters(&self) -> Vec<(String, String)>
fn parameters(&self) -> Vec<(String, String)>
Returns the query or form parameters that document exactly what provider facts are requested.
Source§fn sensitive_parameter_names(&self) -> &'static [&'static str]
fn sensitive_parameter_names(&self) -> &'static [&'static str]
Names provider parameters such as phone, email, or API key that must be redacted in diagnostics.
Source§fn request_parts(&self) -> RequestParts
fn request_parts(&self) -> RequestParts
Converts the descriptor into transport-ready parts without sending a live Gingr request.
impl Eq for Owner
impl StructuralPartialEq for Owner
Auto Trait Implementations§
impl Freeze for Owner
impl RefUnwindSafe for Owner
impl Send for Owner
impl Sync for Owner
impl Unpin for Owner
impl UnsafeUnpin for Owner
impl UnwindSafe for Owner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more