pub struct OptionMutationOutcome {
pub name: String,
pub known_option: Option<OptionName>,
pub notifications: Vec<OptionNotification>,
}Expand description
Outcome for a successful option mutation.
Fields§
§name: StringThe canonical option name.
known_option: Option<OptionName>The known wire option, when the option is part of the closed V1 registry.
notifications: Vec<OptionNotification>Side effects the server may react to.
Trait Implementations§
Source§impl Clone for OptionMutationOutcome
impl Clone for OptionMutationOutcome
Source§fn clone(&self) -> OptionMutationOutcome
fn clone(&self) -> OptionMutationOutcome
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 OptionMutationOutcome
impl Debug for OptionMutationOutcome
impl Eq for OptionMutationOutcome
Source§impl PartialEq for OptionMutationOutcome
impl PartialEq for OptionMutationOutcome
Source§fn eq(&self, other: &OptionMutationOutcome) -> bool
fn eq(&self, other: &OptionMutationOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OptionMutationOutcome
Auto Trait Implementations§
impl Freeze for OptionMutationOutcome
impl RefUnwindSafe for OptionMutationOutcome
impl Send for OptionMutationOutcome
impl Sync for OptionMutationOutcome
impl Unpin for OptionMutationOutcome
impl UnsafeUnpin for OptionMutationOutcome
impl UnwindSafe for OptionMutationOutcome
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