pub struct BriefConfigContextProfile {
pub id: Option<i32>,
pub url: Option<String>,
pub display: Option<String>,
pub name: String,
pub description: Option<String>,
}Expand description
BriefConfigContextProfile : Base serializer class for models inheriting from PrimaryModel.
Fields§
§id: Option<i32>§url: Option<String>§display: Option<String>§name: String§description: Option<String>Implementations§
Source§impl BriefConfigContextProfile
impl BriefConfigContextProfile
Sourcepub fn new(name: String) -> BriefConfigContextProfile
pub fn new(name: String) -> BriefConfigContextProfile
Base serializer class for models inheriting from PrimaryModel.
Trait Implementations§
Source§impl Clone for BriefConfigContextProfile
impl Clone for BriefConfigContextProfile
Source§fn clone(&self) -> BriefConfigContextProfile
fn clone(&self) -> BriefConfigContextProfile
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 BriefConfigContextProfile
impl Debug for BriefConfigContextProfile
Source§impl Default for BriefConfigContextProfile
impl Default for BriefConfigContextProfile
Source§fn default() -> BriefConfigContextProfile
fn default() -> BriefConfigContextProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BriefConfigContextProfile
impl<'de> Deserialize<'de> for BriefConfigContextProfile
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 BriefConfigContextProfile
impl PartialEq for BriefConfigContextProfile
Source§fn eq(&self, other: &BriefConfigContextProfile) -> bool
fn eq(&self, other: &BriefConfigContextProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BriefConfigContextProfile
Auto Trait Implementations§
impl Freeze for BriefConfigContextProfile
impl RefUnwindSafe for BriefConfigContextProfile
impl Send for BriefConfigContextProfile
impl Sync for BriefConfigContextProfile
impl Unpin for BriefConfigContextProfile
impl UnsafeUnpin for BriefConfigContextProfile
impl UnwindSafe for BriefConfigContextProfile
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