pub struct OrganizationDomain {
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub identity_provider: Option<Box<IdentityProvider>>,
pub name: Option<String>,
pub verified: Option<bool>,
pub verification_email: Option<String>,
pub creator: Option<Box<User>>,
pub auth_type: Option<OrganizationDomainAuthType>,
pub claimed: Option<bool>,
pub disable_organization_creation: Option<bool>,
}Expand description
Defines the use of a domain by an organization.
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
updated_at: Option<DateTime<Utc>>The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.
archived_at: Option<DateTime<Utc>>The time at which the entity was archived. Null if the entity has not been archived.
identity_provider: Option<Box<IdentityProvider>>The identity provider the domain belongs to.
name: Option<String>Domain name.
verified: Option<bool>Is this domain verified.
verification_email: Option<String>E-mail used to verify this domain.
creator: Option<Box<User>>The user who added the domain.
auth_type: Option<OrganizationDomainAuthType>What type of auth is the domain used for.
claimed: Option<bool>Whether the domains was claimed by the organization through DNS verification.
disable_organization_creation: Option<bool>Prevent users with this domain to create new workspaces.
Trait Implementations§
Source§impl Clone for OrganizationDomain
impl Clone for OrganizationDomain
Source§fn clone(&self) -> OrganizationDomain
fn clone(&self) -> OrganizationDomain
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 OrganizationDomain
impl Debug for OrganizationDomain
Source§impl Default for OrganizationDomain
impl Default for OrganizationDomain
Source§fn default() -> OrganizationDomain
fn default() -> OrganizationDomain
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrganizationDomainwhere
OrganizationDomain: Default,
impl<'de> Deserialize<'de> for OrganizationDomainwhere
OrganizationDomain: Default,
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 GraphQLFields for OrganizationDomain
impl GraphQLFields for OrganizationDomain
Auto Trait Implementations§
impl Freeze for OrganizationDomain
impl RefUnwindSafe for OrganizationDomain
impl Send for OrganizationDomain
impl Sync for OrganizationDomain
impl Unpin for OrganizationDomain
impl UnwindSafe for OrganizationDomain
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