pub struct AttributeIp {
pub key: String,
pub type: String,
pub status: String,
pub error: String,
pub required: bool,
pub array: Option<Option<bool>>,
pub format: String,
pub default: Option<Option<String>>,
}Expand description
AttributeIp : AttributeIP
Fields§
§key: StringAttribute Key.
type: StringAttribute type.
status: StringAttribute status. Possible values: available, processing, deleting, stuck, or failed
error: StringError message. Displays error generated on failure of creating or deleting an attribute.
required: boolIs attribute required?
array: Option<Option<bool>>Is attribute an array?
format: StringString format.
default: Option<Option<String>>Default value for attribute when not provided. Cannot be set when attribute is required.
Implementations§
Trait Implementations§
Source§impl Clone for AttributeIp
impl Clone for AttributeIp
Source§fn clone(&self) -> AttributeIp
fn clone(&self) -> AttributeIp
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 AttributeIp
impl Debug for AttributeIp
Source§impl<'de> Deserialize<'de> for AttributeIp
impl<'de> Deserialize<'de> for AttributeIp
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 AttributeIp
impl PartialEq for AttributeIp
Source§fn eq(&self, other: &AttributeIp) -> bool
fn eq(&self, other: &AttributeIp) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AttributeIp
impl Serialize for AttributeIp
impl StructuralPartialEq for AttributeIp
Auto Trait Implementations§
impl Freeze for AttributeIp
impl RefUnwindSafe for AttributeIp
impl Send for AttributeIp
impl Sync for AttributeIp
impl Unpin for AttributeIp
impl UnsafeUnpin for AttributeIp
impl UnwindSafe for AttributeIp
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