pub struct BriefConfigTemplate {
pub id: Option<i32>,
pub url: Option<String>,
pub display: Option<String>,
pub name: String,
pub description: Option<String>,
}Expand description
BriefConfigTemplate : Introduces support for Tag assignment. Adds tags serialization, and handles tag assignment on create() and update().
Fields§
§id: Option<i32>§url: Option<String>§display: Option<String>§name: String§description: Option<String>Implementations§
Source§impl BriefConfigTemplate
impl BriefConfigTemplate
Sourcepub fn new(name: String) -> BriefConfigTemplate
pub fn new(name: String) -> BriefConfigTemplate
Introduces support for Tag assignment. Adds tags serialization, and handles tag assignment on create() and update().
Trait Implementations§
Source§impl Clone for BriefConfigTemplate
impl Clone for BriefConfigTemplate
Source§fn clone(&self) -> BriefConfigTemplate
fn clone(&self) -> BriefConfigTemplate
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 BriefConfigTemplate
impl Debug for BriefConfigTemplate
Source§impl Default for BriefConfigTemplate
impl Default for BriefConfigTemplate
Source§fn default() -> BriefConfigTemplate
fn default() -> BriefConfigTemplate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BriefConfigTemplate
impl<'de> Deserialize<'de> for BriefConfigTemplate
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 BriefConfigTemplate
impl PartialEq for BriefConfigTemplate
Source§impl Serialize for BriefConfigTemplate
impl Serialize for BriefConfigTemplate
impl StructuralPartialEq for BriefConfigTemplate
Auto Trait Implementations§
impl Freeze for BriefConfigTemplate
impl RefUnwindSafe for BriefConfigTemplate
impl Send for BriefConfigTemplate
impl Sync for BriefConfigTemplate
impl Unpin for BriefConfigTemplate
impl UnwindSafe for BriefConfigTemplate
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