pub enum SetDefaultDomainResult {
Success {
domain: DomainName,
},
Unauthorized {
domain: DomainName,
},
NotRegistered {
domain: DomainName,
},
}Variants§
Success
Fields
§
domain: DomainNameFields
The identity doesn’t own the domain they tried to set as their default.
NotRegistered
Fields
§
domain: DomainNameNo identity owns this domain so it cannot be set as the default domain for an identity.
Trait Implementations§
source§impl Clone for SetDefaultDomainResult
impl Clone for SetDefaultDomainResult
source§fn clone(&self) -> SetDefaultDomainResult
fn clone(&self) -> SetDefaultDomainResult
Returns a copy 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 SetDefaultDomainResult
impl Debug for SetDefaultDomainResult
source§impl<'de> Deserialize<'de> for SetDefaultDomainResult
impl<'de> Deserialize<'de> for SetDefaultDomainResult
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 RefUnwindSafe for SetDefaultDomainResult
impl Send for SetDefaultDomainResult
impl Sync for SetDefaultDomainResult
impl Unpin for SetDefaultDomainResult
impl UnwindSafe for SetDefaultDomainResult
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