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§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
Source§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.