pub struct Animal { /* private fields */ }Expand description
Request descriptor for reservations related to one Gingr animal record.
Implementations§
Source§impl Animal
impl Animal
Sourcepub const LOCATION_SCOPE_CAVEAT: &'static str = "Reservation data for this endpoint is only pulled for the location the API user is currently logged into."
pub const LOCATION_SCOPE_CAVEAT: &'static str = "Reservation data for this endpoint is only pulled for the location the API user is currently logged into."
Notes that Gingr scopes this lookup to the API user’s current location.
Sourcepub fn builder() -> AnimalBuilder
pub fn builder() -> AnimalBuilder
Starts a builder that makes each provider parameter explicit before request capture.
Trait Implementations§
Source§impl Request for Animal
impl Request for Animal
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 Animal
impl StructuralPartialEq for Animal
Auto Trait Implementations§
impl Freeze for Animal
impl RefUnwindSafe for Animal
impl Send for Animal
impl Sync for Animal
impl Unpin for Animal
impl UnsafeUnpin for Animal
impl UnwindSafe for Animal
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