pub struct LiveRoom {
pub id: String,
pub name: String,
pub group: Option<String>,
pub members: Vec<Member>,
pub state: Value,
pub version: u64,
pub created: DateTime<Utc>,
pub updated: DateTime<Utc>,
}Expand description
A live room a person or a group owns. Everyone in it sees state change live.
Fields§
§id: String§name: String§group: Option<String>The group that owns it; None when a person does.
members: Vec<Member>§state: ValueAny JSON, up to 256 KB, always set whole. Fauna never reads it.
version: u64Goes up by one with every state change.
created: DateTime<Utc>§updated: DateTime<Utc>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LiveRoom
impl<'de> Deserialize<'de> for LiveRoom
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 Forget for LiveRoom
impl Freeze for LiveRoom
impl Move for LiveRoom
impl RefUnwindSafe for LiveRoom
impl Send for LiveRoom
impl Sync for LiveRoom
impl Unpin for LiveRoom
impl UnsafeUnpin for LiveRoom
impl UnwindSafe for LiveRoom
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