pub struct Channel {
pub v: u32,
pub id: String,
pub title: String,
pub goal: Goal,
pub state: ChannelState,
pub owner: ChannelActor,
pub participants: Vec<Participant>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
The durable manifest (a cache of state derivable from the event log).
Fields§
§v: u32§id: String§title: String§goal: Goal§state: ChannelState§owner: ChannelActor§participants: Vec<Participant>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>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
Auto Trait Implementations§
impl Freeze for Channel
impl RefUnwindSafe for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl UnsafeUnpin 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