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 parameters(&self) -> Vec<(String, String)>
fn parameters(&self) -> Vec<(String, String)>
Describes the provider wire contract for this Gingr request.
Source§fn sensitive_parameter_names(&self) -> &'static [&'static str]
fn sensitive_parameter_names(&self) -> &'static [&'static str]
Describes the provider wire contract for this Gingr request.
Source§fn request_parts(&self) -> RequestParts
fn request_parts(&self) -> RequestParts
Describes the provider wire contract for this 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