pub struct WritableCableRequest {Show 16 fields
pub type: Option<Option<RHashType>>,
pub a_terminations: Option<Vec<GenericObjectRequest>>,
pub b_terminations: Option<Vec<GenericObjectRequest>>,
pub status: Option<Status>,
pub profile: Option<Profile>,
pub tenant: Option<Option<Box<AsnRangeRequestTenant>>>,
pub bundle: Option<Option<Box<CableRequestBundle>>>,
pub label: Option<String>,
pub color: Option<String>,
pub length: Option<Option<f64>>,
pub length_unit: Option<Option<LengthUnit>>,
pub description: Option<String>,
pub owner: Option<Option<Box<AsnRangeRequestOwner>>>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
WritableCableRequest : Base serializer class for models inheriting from PrimaryModel.
Fields§
§type: Option<Option<RHashType>>cat3- CAT3 *cat5- CAT5 *cat5e- CAT5e *cat6- CAT6 *cat6a- CAT6a *cat7- CAT7 *cat7a- CAT7a *cat8- CAT8 *mrj21-trunk- MRJ21 Trunk *dac-active- Direct Attach Copper (Active) *dac-passive- Direct Attach Copper (Passive) *coaxial- Coaxial *rg-6- RG-6 *rg-8- RG-8 *rg-11- RG-11 *rg-59- RG-59 *rg-62- RG-62 *rg-213- RG-213 *lmr-100- LMR-100 *lmr-200- LMR-200 *lmr-400- LMR-400 *mmf- Multimode Fiber *mmf-om1- Multimode Fiber (OM1) *mmf-om2- Multimode Fiber (OM2) *mmf-om3- Multimode Fiber (OM3) *mmf-om4- Multimode Fiber (OM4) *mmf-om5- Multimode Fiber (OM5) *smf- Single-mode Fiber *smf-os1- Single-mode Fiber (OS1) *smf-os2- Single-mode Fiber (OS2) *aoc- Active Optical Cabling (AOC) *power- Power *usb- USB
a_terminations: Option<Vec<GenericObjectRequest>>§b_terminations: Option<Vec<GenericObjectRequest>>§status: Option<Status>connected- Connected *planned- Planned *decommissioning- Decommissioning
profile: Option<Profile>single-1c1p- 1C1P *single-1c2p- 1C2P *single-1c4p- 1C4P *single-1c6p- 1C6P *single-1c8p- 1C8P *single-1c12p- 1C12P *single-1c16p- 1C16P *trunk-2c1p- 2C1P trunk *trunk-2c2p- 2C2P trunk *trunk-2c4p- 2C4P trunk *trunk-2c4p-shuffle- 2C4P trunk (shuffle) *trunk-2c6p- 2C6P trunk *trunk-2c8p- 2C8P trunk *trunk-2c12p- 2C12P trunk *trunk-4c1p- 4C1P trunk *trunk-4c2p- 4C2P trunk *trunk-4c4p- 4C4P trunk *trunk-4c4p-shuffle- 4C4P trunk (shuffle) *trunk-4c6p- 4C6P trunk *trunk-4c8p- 4C8P trunk *trunk-8c4p- 8C4P trunk *breakout-1c2p-2c1p- 1C2P:2C1P breakout *breakout-1c4p-4c1p- 1C4P:4C1P breakout *breakout-1c6p-6c1p- 1C6P:6C1P breakout *breakout-2c4p-8c1p-shuffle- 2C4P:8C1P breakout (shuffle)
tenant: Option<Option<Box<AsnRangeRequestTenant>>>§bundle: Option<Option<Box<CableRequestBundle>>>§label: Option<String>§color: Option<String>§length: Option<Option<f64>>§length_unit: Option<Option<LengthUnit>>km- Kilometers *m- Meters *cm- Centimeters *mi- Miles *ft- Feet *in- Inches
description: Option<String>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl WritableCableRequest
impl WritableCableRequest
Sourcepub fn new() -> WritableCableRequest
pub fn new() -> WritableCableRequest
Base serializer class for models inheriting from PrimaryModel.
Trait Implementations§
Source§impl Clone for WritableCableRequest
impl Clone for WritableCableRequest
Source§fn clone(&self) -> WritableCableRequest
fn clone(&self) -> WritableCableRequest
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 WritableCableRequest
impl Debug for WritableCableRequest
Source§impl Default for WritableCableRequest
impl Default for WritableCableRequest
Source§fn default() -> WritableCableRequest
fn default() -> WritableCableRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WritableCableRequest
impl<'de> Deserialize<'de> for WritableCableRequest
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 WritableCableRequest
impl PartialEq for WritableCableRequest
Source§fn eq(&self, other: &WritableCableRequest) -> bool
fn eq(&self, other: &WritableCableRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WritableCableRequest
impl Serialize for WritableCableRequest
impl StructuralPartialEq for WritableCableRequest
Auto Trait Implementations§
impl Freeze for WritableCableRequest
impl RefUnwindSafe for WritableCableRequest
impl Send for WritableCableRequest
impl Sync for WritableCableRequest
impl Unpin for WritableCableRequest
impl UnsafeUnpin for WritableCableRequest
impl UnwindSafe for WritableCableRequest
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