pub struct AttributeUrl {
pub key: String,
pub attribute_type: String,
pub status: String,
pub error: String,
pub xrequired: bool,
pub array: Option<bool>,
pub format: String,
pub xdefault: Option<String>,
}Expand description
AttributeURL
Fields§
§key: StringAttribute Key.
attribute_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.
xrequired: boolIs attribute required?
array: Option<bool>Is attribute an array?
format: StringString format.
xdefault: Option<String>Default value for attribute when not provided. Cannot be set when attribute is required.
Trait Implementations§
Source§impl Clone for AttributeUrl
impl Clone for AttributeUrl
Source§fn clone(&self) -> AttributeUrl
fn clone(&self) -> AttributeUrl
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 AttributeUrl
impl Debug for AttributeUrl
Source§impl Default for AttributeUrl
impl Default for AttributeUrl
Source§fn default() -> AttributeUrl
fn default() -> AttributeUrl
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttributeUrl
impl<'de> Deserialize<'de> for AttributeUrl
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 AttributeUrl
impl PartialEq for AttributeUrl
Source§impl Serialize for AttributeUrl
impl Serialize for AttributeUrl
impl StructuralPartialEq for AttributeUrl
Auto Trait Implementations§
impl Freeze for AttributeUrl
impl RefUnwindSafe for AttributeUrl
impl Send for AttributeUrl
impl Sync for AttributeUrl
impl Unpin for AttributeUrl
impl UnwindSafe for AttributeUrl
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