pub struct Namespace<'a> {
pub namespace: &'a str,
pub username: &'a str,
pub password: &'a str,
}
Expand description
Credentials for the namespace user
Fields§
§namespace: &'a str
The namespace the user has access to
username: &'a str
The username of the namespace user
password: &'a str
The password of the namespace user
Trait Implementations§
impl<'a> Copy for Namespace<'a>
impl Credentials<Signin, Jwt> for Namespace<'_>
Auto Trait Implementations§
impl<'a> Freeze for Namespace<'a>
impl<'a> RefUnwindSafe for Namespace<'a>
impl<'a> Send for Namespace<'a>
impl<'a> Sync for Namespace<'a>
impl<'a> Unpin for Namespace<'a>
impl<'a> UnwindSafe for Namespace<'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