pub struct CredId {
pub service: String,
pub user: String,
}Available on crate feature
sample only.Expand description
Credentials are specified by a pair of service name and username.
Fields§
§service: String§user: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for CredId
impl<'de> Deserialize<'de> for CredId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CredId
impl StructuralPartialEq for CredId
Auto Trait Implementations§
impl Freeze for CredId
impl RefUnwindSafe for CredId
impl Send for CredId
impl Sync for CredId
impl Unpin for CredId
impl UnwindSafe for CredId
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