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