Struct twilight_model::channel::thread::ThreadMember
source · pub struct ThreadMember {
pub flags: u64,
pub id: Option<Id<ChannelMarker>>,
pub join_timestamp: Timestamp,
pub member: Option<Member>,
pub presence: Option<Presence>,
pub user_id: Option<Id<UserMarker>>,
}
Fields§
§flags: u64
§id: Option<Id<ChannelMarker>>
§join_timestamp: Timestamp
§member: Option<Member>
§presence: Option<Presence>
§user_id: Option<Id<UserMarker>>
Trait Implementations§
source§impl Clone for ThreadMember
impl Clone for ThreadMember
source§fn clone(&self) -> ThreadMember
fn clone(&self) -> ThreadMember
Returns a copy 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 ThreadMember
impl Debug for ThreadMember
source§impl<'de> Deserialize<'de> for ThreadMember
impl<'de> Deserialize<'de> for ThreadMember
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
source§impl Hash for ThreadMember
impl Hash for ThreadMember
source§impl PartialEq<ThreadMember> for ThreadMember
impl PartialEq<ThreadMember> for ThreadMember
source§fn eq(&self, other: &ThreadMember) -> bool
fn eq(&self, other: &ThreadMember) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ThreadMember
impl Serialize for ThreadMember
impl Eq for ThreadMember
impl StructuralEq for ThreadMember
impl StructuralPartialEq for ThreadMember
Auto Trait Implementations§
impl RefUnwindSafe for ThreadMember
impl Send for ThreadMember
impl Sync for ThreadMember
impl Unpin for ThreadMember
impl UnwindSafe for ThreadMember
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