Struct gix_transport::client::Account
source · pub struct Account {
pub username: String,
pub password: String,
}
Expand description
An account based identity
Fields§
§username: String
The user’s name
password: String
The user’s password
Trait Implementations§
source§impl Ord for Account
impl Ord for Account
source§impl PartialEq for Account
impl PartialEq for Account
source§impl PartialOrd for Account
impl PartialOrd for Account
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Account
impl StructuralPartialEq for Account
Auto Trait Implementations§
impl Freeze for Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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