pub struct LiveChatUserBannedMessageDetails {
pub ban_duration_seconds: Option<u64>,
pub ban_type: Option<String>,
pub banned_user_details: Option<ChannelProfileDetails>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§ban_duration_seconds: Option<u64>
The duration of the ban. This property is only present if the banType is temporary.
ban_type: Option<String>
The type of ban.
banned_user_details: Option<ChannelProfileDetails>
The details of the user that was banned.
Trait Implementations§
source§impl Clone for LiveChatUserBannedMessageDetails
impl Clone for LiveChatUserBannedMessageDetails
source§fn clone(&self) -> LiveChatUserBannedMessageDetails
fn clone(&self) -> LiveChatUserBannedMessageDetails
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 Default for LiveChatUserBannedMessageDetails
impl Default for LiveChatUserBannedMessageDetails
source§fn default() -> LiveChatUserBannedMessageDetails
fn default() -> LiveChatUserBannedMessageDetails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LiveChatUserBannedMessageDetails
impl<'de> Deserialize<'de> for LiveChatUserBannedMessageDetails
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
impl Part for LiveChatUserBannedMessageDetails
Auto Trait Implementations§
impl RefUnwindSafe for LiveChatUserBannedMessageDetails
impl Send for LiveChatUserBannedMessageDetails
impl Sync for LiveChatUserBannedMessageDetails
impl Unpin for LiveChatUserBannedMessageDetails
impl UnwindSafe for LiveChatUserBannedMessageDetails
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