pub struct StdCredential {
pub key: String,
pub description: Option<String>,
pub fields: Vec<StdCredentialField>,
}Expand description
One credential a component declares it expects (design §4.3). Descriptive, not restrictive: the boundary is the profile, and a component asking for an undeclared key is refused by nothing.
Fields§
§key: String§description: Option<String>§fields: Vec<StdCredentialField>Trait Implementations§
Source§impl Clone for StdCredential
impl Clone for StdCredential
Source§fn clone(&self) -> StdCredential
fn clone(&self) -> StdCredential
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StdCredential
impl Debug for StdCredential
Source§impl Default for StdCredential
impl Default for StdCredential
Source§fn default() -> StdCredential
fn default() -> StdCredential
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StdCredential
impl<'de> Deserialize<'de> for StdCredential
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 StdCredential
Source§impl PartialEq for StdCredential
impl PartialEq for StdCredential
Source§impl Serialize for StdCredential
impl Serialize for StdCredential
impl StructuralPartialEq for StdCredential
Auto Trait Implementations§
impl Freeze for StdCredential
impl RefUnwindSafe for StdCredential
impl Send for StdCredential
impl Sync for StdCredential
impl Unpin for StdCredential
impl UnsafeUnpin for StdCredential
impl UnwindSafe for StdCredential
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