pub struct TemplatePatch {
pub description: Option<String>,
pub feature_flag: Option<Option<String>>,
pub filter_types: Option<Option<Vec<String>>>,
pub instructions: Option<String>,
pub instructions_link: Option<Option<String>>,
pub kind: Option<TransformationTemplateKind>,
pub logo: Option<String>,
pub name: Option<String>,
pub transformation: Option<String>,
}
Fields§
§description: Option<String>
§feature_flag: Option<Option<String>>
§filter_types: Option<Option<Vec<String>>>
§instructions: Option<String>
§instructions_link: Option<Option<String>>
§kind: Option<TransformationTemplateKind>
§logo: Option<String>
§name: Option<String>
§transformation: Option<String>
Implementations§
Source§impl TemplatePatch
impl TemplatePatch
pub fn new() -> TemplatePatch
Trait Implementations§
Source§impl Clone for TemplatePatch
impl Clone for TemplatePatch
Source§fn clone(&self) -> TemplatePatch
fn clone(&self) -> TemplatePatch
Returns a duplicate of the value. Read more
1.0.0 · 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 TemplatePatch
impl Debug for TemplatePatch
Source§impl Default for TemplatePatch
impl Default for TemplatePatch
Source§fn default() -> TemplatePatch
fn default() -> TemplatePatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TemplatePatch
impl<'de> Deserialize<'de> for TemplatePatch
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 TemplatePatch
impl PartialEq for TemplatePatch
Source§impl Serialize for TemplatePatch
impl Serialize for TemplatePatch
impl StructuralPartialEq for TemplatePatch
Auto Trait Implementations§
impl Freeze for TemplatePatch
impl RefUnwindSafe for TemplatePatch
impl Send for TemplatePatch
impl Sync for TemplatePatch
impl Unpin for TemplatePatch
impl UnwindSafe for TemplatePatch
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