pub struct Asn {Show 15 fields
pub id: Option<i32>,
pub url: Option<String>,
pub display_url: Option<String>,
pub display: Option<String>,
pub asn: i64,
pub rir: Option<Option<Box<BriefRir>>>,
pub tenant: Option<Option<Box<BriefTenant>>>,
pub description: Option<String>,
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 site_count: Option<i64>,
pub provider_count: Option<i64>,
}Expand description
Asn : Adds support for custom fields and tags.
Fields§
§id: Option<i32>§url: Option<String>§display_url: Option<String>§display: Option<String>§asn: i6416- or 32-bit autonomous system number
rir: Option<Option<Box<BriefRir>>>§tenant: Option<Option<Box<BriefTenant>>>§description: Option<String>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>§created: Option<Option<String>>§last_updated: Option<Option<String>>§site_count: Option<i64>§provider_count: Option<i64>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Asn
impl<'de> Deserialize<'de> for Asn
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
impl StructuralPartialEq for Asn
Auto Trait Implementations§
impl Freeze for Asn
impl RefUnwindSafe for Asn
impl Send for Asn
impl Sync for Asn
impl Unpin for Asn
impl UnwindSafe for Asn
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