pub struct Channel {Show 14 fields
pub id: Option<String>,
pub create_at: Option<i64>,
pub update_at: Option<i64>,
pub delete_at: Option<i64>,
pub team_id: Option<String>,
pub type: Option<String>,
pub display_name: Option<String>,
pub name: Option<String>,
pub header: Option<String>,
pub purpose: Option<String>,
pub last_post_at: Option<i32>,
pub total_msg_count: Option<i32>,
pub extra_update_at: Option<i64>,
pub creator_id: Option<String>,
}
Fields§
§id: Option<String>
§create_at: Option<i64>
The time in milliseconds a channel was created
update_at: Option<i64>
The time in milliseconds a channel was last updated
delete_at: Option<i64>
The time in milliseconds a channel was deleted
team_id: Option<String>
§type: Option<String>
§display_name: Option<String>
§name: Option<String>
§header: Option<String>
§purpose: Option<String>
§last_post_at: Option<i32>
The time in milliseconds of the last post of a channel
total_msg_count: Option<i32>
§extra_update_at: Option<i64>
Deprecated in Mattermost 5.0 release
creator_id: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Channel
impl<'de> Deserialize<'de> for Channel
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 StructuralPartialEq for Channel
Auto Trait Implementations§
impl Freeze for Channel
impl RefUnwindSafe for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl UnwindSafe for Channel
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