pub struct ResourceChanged {
pub app: String,
pub record: String,
pub entry: Value,
}Expand description
One change to one record of the workspace.
Fields§
§app: StringThe app whose record it is.
record: StringThe record’s id there; empty for the app’s record of the workspace.
entry: ValueThe change as the record’s history lists it: its change id, its
sentence, time_ms, who made it (actor, by), the group it was a
step of (title, group, group_kind), the invocation that made
it (invocation), and what it did to the resource (happened, a What).
Trait Implementations§
Source§impl Clone for ResourceChanged
impl Clone for ResourceChanged
Source§impl Debug for ResourceChanged
impl Debug for ResourceChanged
Source§impl<'de> Deserialize<'de> for ResourceChanged
impl<'de> Deserialize<'de> for ResourceChanged
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 ResourceChanged
impl PartialEq for ResourceChanged
Source§impl Serialize for ResourceChanged
impl Serialize for ResourceChanged
impl StructuralPartialEq for ResourceChanged
Auto Trait Implementations§
impl Forget for ResourceChanged
impl Freeze for ResourceChanged
impl Move for ResourceChanged
impl RefUnwindSafe for ResourceChanged
impl Send for ResourceChanged
impl Sync for ResourceChanged
impl Unpin for ResourceChanged
impl UnsafeUnpin for ResourceChanged
impl UnwindSafe for ResourceChanged
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