pub struct Rir {Show 13 fields
pub id: Option<i32>,
pub url: Option<String>,
pub display_url: Option<String>,
pub display: Option<String>,
pub name: String,
pub slug: String,
pub is_private: Option<bool>,
pub description: 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 aggregate_count: Option<i64>,
}Expand description
Rir : Adds support for custom fields and tags.
Fields§
§id: Option<i32>§url: Option<String>§display_url: Option<String>§display: Option<String>§name: String§slug: String§is_private: Option<bool>IP space managed by this RIR is considered private
description: Option<String>§custom_fields: Option<HashMap<String, Value>>§created: Option<Option<String>>§last_updated: Option<Option<String>>§aggregate_count: Option<i64>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rir
impl<'de> Deserialize<'de> for Rir
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 Rir
Auto Trait Implementations§
impl Freeze for Rir
impl RefUnwindSafe for Rir
impl Send for Rir
impl Sync for Rir
impl Unpin for Rir
impl UnwindSafe for Rir
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