pub struct SessionCustomizationUpdatedAction {
pub customization: Customization,
}Expand description
Upserts a top-level customization (plugin or directory).
The reducer locates the existing entry by customization.id:
- If found, the entry is replaced entirely with
customization, including itschildrenarray. To preserve existing children, the host must include them on the payload. - If not found, the entry is appended.
Fields§
§customization: CustomizationThe customization to upsert (matched by customization.id).
Trait Implementations§
Source§impl Clone for SessionCustomizationUpdatedAction
impl Clone for SessionCustomizationUpdatedAction
Source§fn clone(&self) -> SessionCustomizationUpdatedAction
fn clone(&self) -> SessionCustomizationUpdatedAction
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<'de> Deserialize<'de> for SessionCustomizationUpdatedAction
impl<'de> Deserialize<'de> for SessionCustomizationUpdatedAction
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
Source§impl PartialEq for SessionCustomizationUpdatedAction
impl PartialEq for SessionCustomizationUpdatedAction
Source§fn eq(&self, other: &SessionCustomizationUpdatedAction) -> bool
fn eq(&self, other: &SessionCustomizationUpdatedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionCustomizationUpdatedAction
Auto Trait Implementations§
impl Freeze for SessionCustomizationUpdatedAction
impl RefUnwindSafe for SessionCustomizationUpdatedAction
impl Send for SessionCustomizationUpdatedAction
impl Sync for SessionCustomizationUpdatedAction
impl Unpin for SessionCustomizationUpdatedAction
impl UnsafeUnpin for SessionCustomizationUpdatedAction
impl UnwindSafe for SessionCustomizationUpdatedAction
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