pub struct DescribeServerOutput<'a> {
pub available_user_domains: Vec<CowStr<'a>>,
pub contact: Option<Data<'a>>,
pub did: Did<'a>,
pub invite_code_required: Option<bool>,
pub links: Option<Data<'a>>,
pub phone_verification_required: Option<bool>,
pub extra_data: BTreeMap<SmolStr, Data<'a>>,
}Fields§
§available_user_domains: Vec<CowStr<'a>>List of domain suffixes that can be used in account handles.
contact: Option<Data<'a>>Contact information
did: Did<'a>§invite_code_required: Option<bool>If true, an invite code must be supplied to create an account on this instance.
links: Option<Data<'a>>URLs of service policy documents.
phone_verification_required: Option<bool>If true, a phone verification token must be supplied to create an account on this instance.
extra_data: BTreeMap<SmolStr, Data<'a>>Trait Implementations§
Source§impl<'a> Clone for DescribeServerOutput<'a>
impl<'a> Clone for DescribeServerOutput<'a>
Source§fn clone(&self) -> DescribeServerOutput<'a>
fn clone(&self) -> DescribeServerOutput<'a>
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<'a> Debug for DescribeServerOutput<'a>
impl<'a> Debug for DescribeServerOutput<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for DescribeServerOutput<'a>
impl<'de: 'a, 'a> Deserialize<'de> for DescribeServerOutput<'a>
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<'a> IntoStatic for DescribeServerOutput<'a>
impl<'a> IntoStatic for DescribeServerOutput<'a>
Source§type Output = DescribeServerOutput<'static>
type Output = DescribeServerOutput<'static>
The “owned” variant of the type. For
Cow<'a, str>, this is Cow<'static, str>, for example.Source§fn into_static(self) -> Self::Output
fn into_static(self) -> Self::Output
Turns the value into an “owned” variant, which can then be returned, moved, etc. Read more
Source§impl<'a> PartialEq for DescribeServerOutput<'a>
impl<'a> PartialEq for DescribeServerOutput<'a>
Source§impl<'a> Serialize for DescribeServerOutput<'a>
impl<'a> Serialize for DescribeServerOutput<'a>
impl<'a> Eq for DescribeServerOutput<'a>
impl<'a> StructuralPartialEq for DescribeServerOutput<'a>
Auto Trait Implementations§
impl<'a> !Freeze for DescribeServerOutput<'a>
impl<'a> RefUnwindSafe for DescribeServerOutput<'a>
impl<'a> Send for DescribeServerOutput<'a>
impl<'a> Sync for DescribeServerOutput<'a>
impl<'a> Unpin for DescribeServerOutput<'a>
impl<'a> UnwindSafe for DescribeServerOutput<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.