pub struct TemplateModifyOperation {
pub match_selector: TemplateComponentSelector,
pub label_form: Option<LabelForm>,
pub rendering: Rendering,
}Expand description
Rendering-only modification for the component matched by match.
Fields§
§match_selector: TemplateComponentSelectorSelector identifying exactly one component to modify.
label_form: Option<LabelForm>Override the localized number label form when modifying number components.
rendering: RenderingRendering fields to merge onto the matched component.
Trait Implementations§
Source§impl Clone for TemplateModifyOperation
impl Clone for TemplateModifyOperation
Source§fn clone(&self) -> TemplateModifyOperation
fn clone(&self) -> TemplateModifyOperation
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 TemplateModifyOperation
impl Debug for TemplateModifyOperation
Source§impl Default for TemplateModifyOperation
impl Default for TemplateModifyOperation
Source§fn default() -> TemplateModifyOperation
fn default() -> TemplateModifyOperation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TemplateModifyOperation
impl<'de> Deserialize<'de> for TemplateModifyOperation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TemplateModifyOperation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TemplateModifyOperation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TemplateModifyOperation
impl PartialEq for TemplateModifyOperation
Source§fn eq(&self, other: &TemplateModifyOperation) -> bool
fn eq(&self, other: &TemplateModifyOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TemplateModifyOperation
impl Serialize for TemplateModifyOperation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TemplateModifyOperation
Auto Trait Implementations§
impl Freeze for TemplateModifyOperation
impl RefUnwindSafe for TemplateModifyOperation
impl Send for TemplateModifyOperation
impl Sync for TemplateModifyOperation
impl Unpin for TemplateModifyOperation
impl UnsafeUnpin for TemplateModifyOperation
impl UnwindSafe for TemplateModifyOperation
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