pub struct DatabasesCreateEmailAttributeRequest {
pub key: String,
pub required: bool,
pub default: Option<String>,
pub array: Option<bool>,
}Fields§
§key: StringAttribute Key.
required: boolIs attribute required?
default: Option<String>Default value for attribute when not provided. Cannot be set when attribute is required.
array: Option<bool>Is attribute an array?
Implementations§
Source§impl DatabasesCreateEmailAttributeRequest
impl DatabasesCreateEmailAttributeRequest
pub fn new(key: String, required: bool) -> DatabasesCreateEmailAttributeRequest
Trait Implementations§
Source§impl Clone for DatabasesCreateEmailAttributeRequest
impl Clone for DatabasesCreateEmailAttributeRequest
Source§fn clone(&self) -> DatabasesCreateEmailAttributeRequest
fn clone(&self) -> DatabasesCreateEmailAttributeRequest
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<'de> Deserialize<'de> for DatabasesCreateEmailAttributeRequest
impl<'de> Deserialize<'de> for DatabasesCreateEmailAttributeRequest
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 DatabasesCreateEmailAttributeRequest
impl PartialEq for DatabasesCreateEmailAttributeRequest
Source§fn eq(&self, other: &DatabasesCreateEmailAttributeRequest) -> bool
fn eq(&self, other: &DatabasesCreateEmailAttributeRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DatabasesCreateEmailAttributeRequest
Auto Trait Implementations§
impl Freeze for DatabasesCreateEmailAttributeRequest
impl RefUnwindSafe for DatabasesCreateEmailAttributeRequest
impl Send for DatabasesCreateEmailAttributeRequest
impl Sync for DatabasesCreateEmailAttributeRequest
impl Unpin for DatabasesCreateEmailAttributeRequest
impl UnsafeUnpin for DatabasesCreateEmailAttributeRequest
impl UnwindSafe for DatabasesCreateEmailAttributeRequest
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