pub struct CredentialSpec { /* private fields */ }Expand description
An explicitly authored service credential_spec mapping.
Implementations§
Source§impl CredentialSpec
impl CredentialSpec
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete authored credential-spec mapping span.
Sourcepub const fn config(&self) -> Option<&Located<String>>
pub const fn config(&self) -> Option<&Located<String>>
Returns the raw authored config reference without resolving top-level configs.
Sourcepub const fn file(&self) -> Option<&Located<String>>
pub const fn file(&self) -> Option<&Located<String>>
Returns the raw authored file reference without accessing the filesystem.
Sourcepub const fn registry(&self) -> Option<&Located<String>>
pub const fn registry(&self) -> Option<&Located<String>>
Returns the raw authored registry reference without account or registry access.
Sourcepub fn extension_fields(&self) -> &[FieldReference]
pub fn extension_fields(&self) -> &[FieldReference]
Returns retained x-* members.
Sourcepub fn unknown_fields(&self) -> &[FieldReference]
pub fn unknown_fields(&self) -> &[FieldReference]
Returns retained unknown or malformed members.
Trait Implementations§
Source§impl Clone for CredentialSpec
impl Clone for CredentialSpec
Source§fn clone(&self) -> CredentialSpec
fn clone(&self) -> CredentialSpec
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 CredentialSpec
impl Debug for CredentialSpec
impl Eq for CredentialSpec
Source§impl PartialEq for CredentialSpec
impl PartialEq for CredentialSpec
impl StructuralPartialEq for CredentialSpec
Auto Trait Implementations§
impl Freeze for CredentialSpec
impl RefUnwindSafe for CredentialSpec
impl Send for CredentialSpec
impl Sync for CredentialSpec
impl Unpin for CredentialSpec
impl UnsafeUnpin for CredentialSpec
impl UnwindSafe for CredentialSpec
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