pub struct WritableAggregateRequest {
pub prefix: String,
pub rir: Box<AsnRangeRequestRir>,
pub tenant: Option<Option<Box<AsnRangeRequestTenant>>>,
pub date_added: Option<Option<String>>,
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
WritableAggregateRequest : Base serializer class for models inheriting from PrimaryModel.
Fields§
§prefix: String§rir: Box<AsnRangeRequestRir>§tenant: Option<Option<Box<AsnRangeRequestTenant>>>§date_added: Option<Option<String>>§description: Option<String>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl WritableAggregateRequest
impl WritableAggregateRequest
Sourcepub fn new(prefix: String, rir: AsnRangeRequestRir) -> WritableAggregateRequest
pub fn new(prefix: String, rir: AsnRangeRequestRir) -> WritableAggregateRequest
Base serializer class for models inheriting from PrimaryModel.
Trait Implementations§
Source§impl Clone for WritableAggregateRequest
impl Clone for WritableAggregateRequest
Source§fn clone(&self) -> WritableAggregateRequest
fn clone(&self) -> WritableAggregateRequest
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 WritableAggregateRequest
impl Debug for WritableAggregateRequest
Source§impl Default for WritableAggregateRequest
impl Default for WritableAggregateRequest
Source§fn default() -> WritableAggregateRequest
fn default() -> WritableAggregateRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WritableAggregateRequest
impl<'de> Deserialize<'de> for WritableAggregateRequest
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 WritableAggregateRequest
impl PartialEq for WritableAggregateRequest
Source§fn eq(&self, other: &WritableAggregateRequest) -> bool
fn eq(&self, other: &WritableAggregateRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WritableAggregateRequest
impl Serialize for WritableAggregateRequest
impl StructuralPartialEq for WritableAggregateRequest
Auto Trait Implementations§
impl Freeze for WritableAggregateRequest
impl RefUnwindSafe for WritableAggregateRequest
impl Send for WritableAggregateRequest
impl Sync for WritableAggregateRequest
impl Unpin for WritableAggregateRequest
impl UnsafeUnpin for WritableAggregateRequest
impl UnwindSafe for WritableAggregateRequest
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