pub struct SecretDefinition { /* private fields */ }Expand description
A typed top-level secret definition.
Implementations§
Source§impl SecretDefinition
impl SecretDefinition
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete definition span.
Sourcepub const fn environment(&self) -> Option<&Located<String>>
pub const fn environment(&self) -> Option<&Located<String>>
Returns the host environment-variable source name.
Sourcepub const fn external(&self) -> Option<&Located<BooleanValue>>
pub const fn external(&self) -> Option<&Located<BooleanValue>>
Returns the external-lifecycle setting.
Sourcepub const fn custom_name(&self) -> Option<&Located<String>>
pub const fn custom_name(&self) -> Option<&Located<String>>
Returns the platform-level custom name.
Sourcepub fn extension_fields(&self) -> &[FieldReference]
pub fn extension_fields(&self) -> &[FieldReference]
Returns retained x- fields.
Sourcepub fn unknown_fields(&self) -> &[FieldReference]
pub fn unknown_fields(&self) -> &[FieldReference]
Returns unrecognized fields.
Trait Implementations§
Source§impl Clone for SecretDefinition
impl Clone for SecretDefinition
Source§fn clone(&self) -> SecretDefinition
fn clone(&self) -> SecretDefinition
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 SecretDefinition
impl Debug for SecretDefinition
impl Eq for SecretDefinition
Source§impl PartialEq for SecretDefinition
impl PartialEq for SecretDefinition
impl StructuralPartialEq for SecretDefinition
Auto Trait Implementations§
impl Freeze for SecretDefinition
impl RefUnwindSafe for SecretDefinition
impl Send for SecretDefinition
impl Sync for SecretDefinition
impl Unpin for SecretDefinition
impl UnsafeUnpin for SecretDefinition
impl UnwindSafe for SecretDefinition
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