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