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