pub struct ApplyOutcome {
pub written: bool,
pub reload: ReloadOutcome,
pub transports: Vec<String>,
pub skip: Option<SkipReason>,
}Expand description
Full result of crate::desktop::Widget::set_widget_config /
[crate::mobile::Widget::set_widget_config].
Fields§
§written: booltrue when the config map was written (bytes differed from store).
reload: ReloadOutcomeWhat happened on the native reload path.
transports: Vec<String>Transport names that received the map (empty when written is false).
skip: Option<SkipReason>Present when the write was skipped.
Implementations§
Trait Implementations§
Source§impl Clone for ApplyOutcome
impl Clone for ApplyOutcome
Source§fn clone(&self) -> ApplyOutcome
fn clone(&self) -> ApplyOutcome
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 ApplyOutcome
impl Debug for ApplyOutcome
Source§impl<'de> Deserialize<'de> for ApplyOutcome
impl<'de> Deserialize<'de> for ApplyOutcome
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 ApplyOutcome
Source§impl PartialEq for ApplyOutcome
impl PartialEq for ApplyOutcome
Source§impl Serialize for ApplyOutcome
impl Serialize for ApplyOutcome
impl StructuralPartialEq for ApplyOutcome
Auto Trait Implementations§
impl Freeze for ApplyOutcome
impl RefUnwindSafe for ApplyOutcome
impl Send for ApplyOutcome
impl Sync for ApplyOutcome
impl Unpin for ApplyOutcome
impl UnsafeUnpin for ApplyOutcome
impl UnwindSafe for ApplyOutcome
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