pub struct ChannelPinsUpdate {
pub channel_id: Id<ChannelMarker>,
pub guild_id: Option<Id<GuildMarker>>,
pub last_pin_timestamp: Option<Timestamp>,
}
Fields§
§channel_id: Id<ChannelMarker>
§guild_id: Option<Id<GuildMarker>>
§last_pin_timestamp: Option<Timestamp>
Trait Implementations§
Source§impl Clone for ChannelPinsUpdate
impl Clone for ChannelPinsUpdate
Source§fn clone(&self) -> ChannelPinsUpdate
fn clone(&self) -> ChannelPinsUpdate
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 ChannelPinsUpdate
impl Debug for ChannelPinsUpdate
Source§impl<'de> Deserialize<'de> for ChannelPinsUpdate
impl<'de> Deserialize<'de> for ChannelPinsUpdate
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 ChannelPinsUpdate
impl Hash for ChannelPinsUpdate
Source§impl PartialEq for ChannelPinsUpdate
impl PartialEq for ChannelPinsUpdate
Source§impl Serialize for ChannelPinsUpdate
impl Serialize for ChannelPinsUpdate
impl Eq for ChannelPinsUpdate
impl StructuralPartialEq for ChannelPinsUpdate
Auto Trait Implementations§
impl Freeze for ChannelPinsUpdate
impl RefUnwindSafe for ChannelPinsUpdate
impl Send for ChannelPinsUpdate
impl Sync for ChannelPinsUpdate
impl Unpin for ChannelPinsUpdate
impl UnwindSafe for ChannelPinsUpdate
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