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