pub struct ProfileMutationOutcome {
pub harness: String,
pub verb: String,
pub ran: String,
pub name: String,
pub profile: Option<ProfileRow>,
pub deleted: Option<bool>,
}Expand description
What one mutation did, with the harness’s own row read back afterwards.
Fields§
§harness: StringHarness that ran the verb.
verb: StringUniform verb that was asked for.
ran: StringThe exact harness command that ran, credentials redacted.
name: StringAffected profile name, as the harness’s own store spells it.
profile: Option<ProfileRow>The profile as the harness’s own store reports it AFTER the verb.
Absent for delete.
deleted: Option<bool>true on a successful delete.
Trait Implementations§
Source§impl Clone for ProfileMutationOutcome
impl Clone for ProfileMutationOutcome
Source§fn clone(&self) -> ProfileMutationOutcome
fn clone(&self) -> ProfileMutationOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProfileMutationOutcome
impl Debug for ProfileMutationOutcome
Source§impl<'de> Deserialize<'de> for ProfileMutationOutcome
impl<'de> Deserialize<'de> for ProfileMutationOutcome
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 ProfileMutationOutcome
Source§impl PartialEq for ProfileMutationOutcome
impl PartialEq for ProfileMutationOutcome
Source§impl Serialize for ProfileMutationOutcome
impl Serialize for ProfileMutationOutcome
impl StructuralPartialEq for ProfileMutationOutcome
Auto Trait Implementations§
impl Freeze for ProfileMutationOutcome
impl RefUnwindSafe for ProfileMutationOutcome
impl Send for ProfileMutationOutcome
impl Sync for ProfileMutationOutcome
impl Unpin for ProfileMutationOutcome
impl UnsafeUnpin for ProfileMutationOutcome
impl UnwindSafe for ProfileMutationOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.