#[non_exhaustive]pub struct CheckValidCredsResponse {
pub has_valid_creds: bool,
/* private fields */
}Expand description
A response indicating whether the credentials exist and are valid.
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.has_valid_creds: boolIf set to true, the credentials exist and are valid.
Implementations§
Source§impl CheckValidCredsResponse
impl CheckValidCredsResponse
pub fn new() -> Self
Sourcepub fn set_has_valid_creds<T: Into<bool>>(self, v: T) -> Self
pub fn set_has_valid_creds<T: Into<bool>>(self, v: T) -> Self
Sets the value of has_valid_creds.
Trait Implementations§
Source§impl Clone for CheckValidCredsResponse
impl Clone for CheckValidCredsResponse
Source§fn clone(&self) -> CheckValidCredsResponse
fn clone(&self) -> CheckValidCredsResponse
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 CheckValidCredsResponse
impl Debug for CheckValidCredsResponse
Source§impl Default for CheckValidCredsResponse
impl Default for CheckValidCredsResponse
Source§fn default() -> CheckValidCredsResponse
fn default() -> CheckValidCredsResponse
Returns the “default value” for a type. Read more
Source§impl Message for CheckValidCredsResponse
impl Message for CheckValidCredsResponse
Source§impl PartialEq for CheckValidCredsResponse
impl PartialEq for CheckValidCredsResponse
impl StructuralPartialEq for CheckValidCredsResponse
Auto Trait Implementations§
impl Freeze for CheckValidCredsResponse
impl RefUnwindSafe for CheckValidCredsResponse
impl Send for CheckValidCredsResponse
impl Sync for CheckValidCredsResponse
impl Unpin for CheckValidCredsResponse
impl UnwindSafe for CheckValidCredsResponse
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