pub struct AutonomousSystem {
pub name: Option<String>,
pub number: Option<i64>,
}
Expand description
AutonomousSystem
JSON schema
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"number": {
"type": "integer"
}
}
}
Fields§
§name: Option<String>
§number: Option<i64>
Implementations§
Source§impl AutonomousSystem
impl AutonomousSystem
pub fn builder() -> AutonomousSystem
Trait Implementations§
Source§impl Clone for AutonomousSystem
impl Clone for AutonomousSystem
Source§fn clone(&self) -> AutonomousSystem
fn clone(&self) -> AutonomousSystem
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 AutonomousSystem
impl Debug for AutonomousSystem
Source§impl<'de> Deserialize<'de> for AutonomousSystem
impl<'de> Deserialize<'de> for AutonomousSystem
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 From<&AutonomousSystem> for AutonomousSystem
impl From<&AutonomousSystem> for AutonomousSystem
Source§fn from(value: &AutonomousSystem) -> Self
fn from(value: &AutonomousSystem) -> Self
Converts to this type from the input type.
Source§impl From<AutonomousSystem> for AutonomousSystem
impl From<AutonomousSystem> for AutonomousSystem
Source§fn from(value: AutonomousSystem) -> Self
fn from(value: AutonomousSystem) -> Self
Converts to this type from the input type.
Source§impl Serialize for AutonomousSystem
impl Serialize for AutonomousSystem
Source§impl TryFrom<AutonomousSystem> for AutonomousSystem
impl TryFrom<AutonomousSystem> for AutonomousSystem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AutonomousSystem) -> Result<Self, ConversionError>
fn try_from(value: AutonomousSystem) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AutonomousSystem
impl RefUnwindSafe for AutonomousSystem
impl Send for AutonomousSystem
impl Sync for AutonomousSystem
impl Unpin for AutonomousSystem
impl UnwindSafe for AutonomousSystem
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