pub struct CustomerRelationship {
pub related_customer_id: Uuid,
pub relationship_type: RelationshipType,
pub start_date: NaiveDate,
pub is_active: bool,
}Expand description
Customer relationship for linked accounts.
Fields§
Related customer ID
relationship_type: RelationshipTypeRelationship type
start_date: NaiveDateStart date of relationship
is_active: boolWhether relationship is still active
Trait Implementations§
Source§impl Clone for CustomerRelationship
impl Clone for CustomerRelationship
Source§fn clone(&self) -> CustomerRelationship
fn clone(&self) -> CustomerRelationship
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CustomerRelationship
impl Debug for CustomerRelationship
Source§impl<'de> Deserialize<'de> for CustomerRelationship
impl<'de> Deserialize<'de> for CustomerRelationship
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CustomerRelationship
impl RefUnwindSafe for CustomerRelationship
impl Send for CustomerRelationship
impl Sync for CustomerRelationship
impl Unpin for CustomerRelationship
impl UnwindSafe for CustomerRelationship
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