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