pub struct Credentials<'a> {
pub username: &'a str,
pub password: &'a str,
}Fields§
§username: &'a str§password: &'a strTrait Implementations§
Source§impl<'a> Clone for Credentials<'a>
impl<'a> Clone for Credentials<'a>
impl<'a> Copy for Credentials<'a>
Source§impl<'a> Debug for Credentials<'a>
impl<'a> Debug for Credentials<'a>
impl<'a> Eq for Credentials<'a>
Source§impl<'a> PartialEq for Credentials<'a>
impl<'a> PartialEq for Credentials<'a>
impl<'a> StructuralPartialEq for Credentials<'a>
Auto Trait Implementations§
impl<'a> Freeze for Credentials<'a>
impl<'a> RefUnwindSafe for Credentials<'a>
impl<'a> Send for Credentials<'a>
impl<'a> Sync for Credentials<'a>
impl<'a> Unpin for Credentials<'a>
impl<'a> UnsafeUnpin for Credentials<'a>
impl<'a> UnwindSafe for Credentials<'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