#[non_exhaustive]pub struct InstanceAuthString {
pub auth_string: String,
/* private fields */
}Expand description
Instance AUTH string details.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.auth_string: StringAUTH string set on the instance.
Implementations§
Source§impl InstanceAuthString
impl InstanceAuthString
pub fn new() -> Self
Sourcepub fn set_auth_string<T: Into<String>>(self, v: T) -> Self
pub fn set_auth_string<T: Into<String>>(self, v: T) -> Self
Sets the value of auth_string.
Trait Implementations§
Source§impl Clone for InstanceAuthString
impl Clone for InstanceAuthString
Source§fn clone(&self) -> InstanceAuthString
fn clone(&self) -> InstanceAuthString
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 InstanceAuthString
impl Debug for InstanceAuthString
Source§impl Default for InstanceAuthString
impl Default for InstanceAuthString
Source§fn default() -> InstanceAuthString
fn default() -> InstanceAuthString
Returns the “default value” for a type. Read more
Source§impl Message for InstanceAuthString
impl Message for InstanceAuthString
Source§impl PartialEq for InstanceAuthString
impl PartialEq for InstanceAuthString
impl StructuralPartialEq for InstanceAuthString
Auto Trait Implementations§
impl Freeze for InstanceAuthString
impl RefUnwindSafe for InstanceAuthString
impl Send for InstanceAuthString
impl Sync for InstanceAuthString
impl Unpin for InstanceAuthString
impl UnwindSafe for InstanceAuthString
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