pub struct Channel {
pub id: Id<Channel>,
pub created_at: DateTime<Utc>,
pub last_noted_at: Option<DateTime<Utc>>,
pub name: String,
pub description: Option<String>,
pub banner_id: Option<Url>,
pub notes_count: u64,
pub users_count: u64,
pub user_id: Id<User>,
pub is_following: Option<bool>,
pub has_unread_note: Option<bool>,
}Fields§
§id: Id<Channel>§created_at: DateTime<Utc>§last_noted_at: Option<DateTime<Utc>>§name: String§description: Option<String>§notes_count: u64§users_count: u64§user_id: Id<User>§is_following: Option<bool>§has_unread_note: Option<bool>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
Source§impl PaginationItem for Channel
impl PaginationItem 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