pub struct EventState {
pub uri: String,
pub fields: BTreeMap<String, FieldState>,
pub byline: Option<VersionRef>,
pub versions: Vec<VersionEntry>,
pub picked: Option<String>,
pub left_out: u64,
}Expand description
What a screen draws.
Fields§
§uri: String§fields: BTreeMap<String, FieldState>Every field shown (the composition, or the picked version), without $type and createdAt.
byline: Option<VersionRef>Whose version speaks first: the composition’s byline, or the version picked.
versions: Vec<VersionEntry>§picked: Option<String>The version picked, or None for the default composition.
left_out: u64Versions the server left out for a verdict (spam, obscene).
Trait Implementations§
Source§impl Clone for EventState
impl Clone for EventState
Source§impl Debug for EventState
impl Debug for EventState
Source§impl PartialEq for EventState
impl PartialEq for EventState
Source§impl Serialize for EventState
impl Serialize for EventState
impl StructuralPartialEq for EventState
Auto Trait Implementations§
impl Forget for EventState
impl Freeze for EventState
impl RefUnwindSafe for EventState
impl Send for EventState
impl Sync for EventState
impl Unpin for EventState
impl UnsafeUnpin for EventState
impl UnwindSafe for EventState
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