pub struct ChangeSetPreset {
pub name: String,
pub description: Option<String>,
pub template: String,
pub metadata: HashMap<String, String>,
}Expand description
Change set preset.
Fields§
§name: StringThe name of the preset.
description: Option<String>The description of the preset.
template: StringThe template to use for this preset.
metadata: HashMap<String, String>Additional metadata for the preset.
Trait Implementations§
Source§impl Clone for ChangeSetPreset
impl Clone for ChangeSetPreset
Source§fn clone(&self) -> ChangeSetPreset
fn clone(&self) -> ChangeSetPreset
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 ChangeSetPreset
impl Debug for ChangeSetPreset
Source§impl<'de> Deserialize<'de> for ChangeSetPreset
impl<'de> Deserialize<'de> for ChangeSetPreset
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
Auto Trait Implementations§
impl Freeze for ChangeSetPreset
impl RefUnwindSafe for ChangeSetPreset
impl Send for ChangeSetPreset
impl Sync for ChangeSetPreset
impl Unpin for ChangeSetPreset
impl UnsafeUnpin for ChangeSetPreset
impl UnwindSafe for ChangeSetPreset
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