pub struct Owner {
pub email: Option<String>,
pub id: Option<String>,
pub ip_allow_list: Vec<CidrBlockAndDescription>,
pub name: Option<String>,
pub two_factor_auth_enabled: Option<bool>,
pub type_: Option<String>,
}Expand description
Owner
JSON schema
{
"type": "object",
"properties": {
"email": {
"type": "string"
},
"id": {
"type": "string"
},
"ipAllowList": {
"type": "array",
"items": {
"$ref": "#/components/schemas/cidrBlockAndDescription"
}
},
"name": {
"type": "string"
},
"twoFactorAuthEnabled": {
"description": "Whether two-factor authentication is enabled for
the owner. Only present if `type` is `user`.",
"type": "boolean"
},
"type": {
"type": "string"
}
}
}Fields§
§email: Option<String>§id: Option<String>§ip_allow_list: Vec<CidrBlockAndDescription>§name: Option<String>§two_factor_auth_enabled: Option<bool>Whether two-factor authentication is enabled for the owner. Only
present if type is user.
type_: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Owner
impl<'de> Deserialize<'de> for Owner
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
Auto Trait Implementations§
impl Freeze for Owner
impl RefUnwindSafe for Owner
impl Send for Owner
impl Sync for Owner
impl Unpin for Owner
impl UnsafeUnpin for Owner
impl UnwindSafe for Owner
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