pub struct PatchedRirRequest {
pub name: Option<String>,
pub slug: Option<String>,
pub is_private: Option<bool>,
pub description: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
PatchedRirRequest : Adds support for custom fields and tags.
Fields§
§name: Option<String>§slug: Option<String>§is_private: Option<bool>IP space managed by this RIR is considered private
description: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl PatchedRirRequest
impl PatchedRirRequest
Sourcepub fn new() -> PatchedRirRequest
pub fn new() -> PatchedRirRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for PatchedRirRequest
impl Clone for PatchedRirRequest
Source§fn clone(&self) -> PatchedRirRequest
fn clone(&self) -> PatchedRirRequest
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 PatchedRirRequest
impl Debug for PatchedRirRequest
Source§impl Default for PatchedRirRequest
impl Default for PatchedRirRequest
Source§fn default() -> PatchedRirRequest
fn default() -> PatchedRirRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedRirRequest
impl<'de> Deserialize<'de> for PatchedRirRequest
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 PatchedRirRequest
impl PartialEq for PatchedRirRequest
Source§impl Serialize for PatchedRirRequest
impl Serialize for PatchedRirRequest
impl StructuralPartialEq for PatchedRirRequest
Auto Trait Implementations§
impl Freeze for PatchedRirRequest
impl RefUnwindSafe for PatchedRirRequest
impl Send for PatchedRirRequest
impl Sync for PatchedRirRequest
impl Unpin for PatchedRirRequest
impl UnwindSafe for PatchedRirRequest
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