pub struct DeclaredEffect {
pub app: String,
pub what: String,
pub app_id: String,
pub kind: String,
pub verb: String,
}Expand description
One record an action writes besides its own, as its declaration says it: the app by the
name a person reads, and what the step does there in their words, with the step’s own
app, kind and verb for a caller that decides on them rather than reads them
([crate::ActionDescriptor::effects]).
Fields§
§app: StringThe app that keeps the record, by the name it shows.
what: StringWhat the action’s step does there, in the person’s words.
app_id: StringThe app’s id, as the declaration names it.
kind: StringThe record’s kind (passwords.workspace-vault).
verb: StringThe verb the step runs there.
Implementations§
Trait Implementations§
Source§impl Clone for DeclaredEffect
impl Clone for DeclaredEffect
Source§impl Debug for DeclaredEffect
impl Debug for DeclaredEffect
Source§impl Default for DeclaredEffect
impl Default for DeclaredEffect
Source§impl<'de> Deserialize<'de> for DeclaredEffect
impl<'de> Deserialize<'de> for DeclaredEffect
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
impl Eq for DeclaredEffect
Source§impl PartialEq for DeclaredEffect
impl PartialEq for DeclaredEffect
Source§impl Serialize for DeclaredEffect
impl Serialize for DeclaredEffect
impl StructuralPartialEq for DeclaredEffect
Auto Trait Implementations§
impl Forget for DeclaredEffect
impl Freeze for DeclaredEffect
impl Move for DeclaredEffect
impl RefUnwindSafe for DeclaredEffect
impl Send for DeclaredEffect
impl Sync for DeclaredEffect
impl Unpin for DeclaredEffect
impl UnsafeUnpin for DeclaredEffect
impl UnwindSafe for DeclaredEffect
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