pub struct TrustRelation {
pub from_id: Uuid,
pub to_id: Uuid,
pub tensor: T3,
pub established_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Trust relationship between two entities
Fields§
§from_id: UuidThe trusting entity’s LCT ID
to_id: UuidThe trusted entity’s LCT ID
tensor: T3The trust tensor
established_at: DateTime<Utc>When this relation was established
updated_at: DateTime<Utc>Last update timestamp
Implementations§
Source§impl TrustRelation
impl TrustRelation
Trait Implementations§
Source§impl Clone for TrustRelation
impl Clone for TrustRelation
Source§impl Debug for TrustRelation
impl Debug for TrustRelation
Source§impl<'de> Deserialize<'de> for TrustRelation
impl<'de> Deserialize<'de> for TrustRelation
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 TrustRelation
impl RefUnwindSafe for TrustRelation
impl Send for TrustRelation
impl Sync for TrustRelation
impl Unpin for TrustRelation
impl UnsafeUnpin for TrustRelation
impl UnwindSafe for TrustRelation
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