pub struct AddedEmailPrincipal {
pub email: String,
pub type_: AddedEmailPrincipalType,
}
Expand description
AddedEmailPrincipal
JSON schema
{
"type": "object",
"required": [
"email",
"type"
],
"properties": {
"email": {
"description": "Email for the principal.",
"examples": [
"example@domain.com"
],
"type": "string"
},
"type": {
"description": "The type of this principal.",
"type": "string",
"enum": [
"email"
],
"x-tsType": "PrincipalType.Email"
}
},
"additionalProperties": false
}
Fields§
§email: String
Email for the principal.
type_: AddedEmailPrincipalType
The type of this principal.
Trait Implementations§
Source§impl Clone for AddedEmailPrincipal
impl Clone for AddedEmailPrincipal
Source§fn clone(&self) -> AddedEmailPrincipal
fn clone(&self) -> AddedEmailPrincipal
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 AddedEmailPrincipal
impl Debug for AddedEmailPrincipal
Source§impl<'de> Deserialize<'de> for AddedEmailPrincipal
impl<'de> Deserialize<'de> for AddedEmailPrincipal
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 From<&AddedEmailPrincipal> for AddedEmailPrincipal
impl From<&AddedEmailPrincipal> for AddedEmailPrincipal
Source§fn from(value: &AddedEmailPrincipal) -> Self
fn from(value: &AddedEmailPrincipal) -> Self
Converts to this type from the input type.
Source§impl From<AddedEmailPrincipal> for AddedPrincipal
impl From<AddedEmailPrincipal> for AddedPrincipal
Source§fn from(value: AddedEmailPrincipal) -> Self
fn from(value: AddedEmailPrincipal) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AddedEmailPrincipal
impl RefUnwindSafe for AddedEmailPrincipal
impl Send for AddedEmailPrincipal
impl Sync for AddedEmailPrincipal
impl Unpin for AddedEmailPrincipal
impl UnwindSafe for AddedEmailPrincipal
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