pub struct Owner { /* private fields */ }Expand description
Request descriptor for one Gingr owner/customer record by provider ID.
Implementations§
Source§impl Owner
impl Owner
Sourcepub fn by_reservation(id: ReservationId) -> Self
pub fn by_reservation(id: ReservationId) -> Self
Builds an owner lookup by Gingr reservation identifier.
Sourcepub fn by_phone(phone: SensitiveLookup) -> Self
pub fn by_phone(phone: SensitiveLookup) -> Self
Builds an owner lookup by phone number.
Sourcepub fn by_email(email: SensitiveLookup) -> Self
pub fn by_email(email: SensitiveLookup) -> Self
Builds an owner lookup by email address.
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