pub struct LiveSurface {
pub when: Value,
pub view: String,
}Expand description
When a resource of a kind is live, as the resource index keeps it: what its type says
(live when state == .playing) as filters over the fields the index holds, every one of
which holds of a live resource.
Fields§
§when: ValueThe store’s filters (collab_types::store::Filter) as JSON: this crate does not know the
store’s types, and the store reads them back when it declares the kind.
view: StringThe name of the view the shell shows a live resource with.
Trait Implementations§
Source§impl Clone for LiveSurface
impl Clone for LiveSurface
Source§impl Debug for LiveSurface
impl Debug for LiveSurface
Source§impl<'de> Deserialize<'de> for LiveSurface
impl<'de> Deserialize<'de> for LiveSurface
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 PartialEq for LiveSurface
impl PartialEq for LiveSurface
Source§impl Serialize for LiveSurface
impl Serialize for LiveSurface
impl StructuralPartialEq for LiveSurface
Auto Trait Implementations§
impl Forget for LiveSurface
impl Freeze for LiveSurface
impl Move for LiveSurface
impl RefUnwindSafe for LiveSurface
impl Send for LiveSurface
impl Sync for LiveSurface
impl Unpin for LiveSurface
impl UnsafeUnpin for LiveSurface
impl UnwindSafe for LiveSurface
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more