pub struct Partnership {
pub id: String,
pub group: String,
pub partner: GroupSummary,
pub hidden: bool,
pub chats: Vec<ChatSummary>,
pub created: DateTime<Utc>,
}Expand description
Two groups with people only chats between them. group is the one of yours
it was listed for.
Fields§
§id: String§group: String§partner: GroupSummaryUnder Hidden: the partner started at no trust while you hide strangers, and your group hasn’t engaged.
chats: Vec<ChatSummary>§created: DateTime<Utc>Trait Implementations§
Source§impl Clone for Partnership
impl Clone for Partnership
Source§impl Debug for Partnership
impl Debug for Partnership
Source§impl<'de> Deserialize<'de> for Partnership
impl<'de> Deserialize<'de> for Partnership
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 Forget for Partnership
impl Freeze for Partnership
impl RefUnwindSafe for Partnership
impl Send for Partnership
impl Sync for Partnership
impl Unpin for Partnership
impl UnsafeUnpin for Partnership
impl UnwindSafe for Partnership
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