pub struct Channel {
pub id: ChannelId,
pub name: String,
pub visibility: ChannelVisibility,
pub role: ChannelRole,
pub unseen_note_version: Option<(u64, Global)>,
pub unseen_message_id: Option<u64>,
pub parent_path: Vec<u64>,
}
Fields§
§id: ChannelId
§name: String
§visibility: ChannelVisibility
§role: ChannelRole
§unseen_note_version: Option<(u64, Global)>
§unseen_message_id: Option<u64>
§parent_path: Vec<u64>
Implementations§
Trait Implementations§
source§impl PartialEq<Channel> for Channel
impl PartialEq<Channel> for Channel
impl StructuralPartialEq for Channel
Auto Trait Implementations§
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