pub struct Contact {
pub id: String,
pub name: String,
pub contact_type: String,
pub country: String,
pub is_supplier: bool,
pub is_customer: bool,
}Expand description
A Yuki contact (customer or supplier).
Fields§
§id: String§name: String§contact_type: String§country: String§is_supplier: bool§is_customer: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Contact
impl RefUnwindSafe for Contact
impl Send for Contact
impl Sync for Contact
impl Unpin for Contact
impl UnsafeUnpin for Contact
impl UnwindSafe for Contact
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