pub struct Secret {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}
Fields§
§proc: Option<Arc<DaggerSessionProc>>
§selection: Selection
§graphql_client: DynGraphQLClient
Implementations§
Source§impl Secret
impl Secret
Sourcepub async fn id(&self) -> Result<SecretId, DaggerError>
pub async fn id(&self) -> Result<SecretId, DaggerError>
A unique identifier for this Secret.
Sourcepub async fn name(&self) -> Result<String, DaggerError>
pub async fn name(&self) -> Result<String, DaggerError>
The name of this secret.
Sourcepub async fn plaintext(&self) -> Result<String, DaggerError>
pub async fn plaintext(&self) -> Result<String, DaggerError>
The value of this secret.
Sourcepub async fn uri(&self) -> Result<String, DaggerError>
pub async fn uri(&self) -> Result<String, DaggerError>
The URI of this secret.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Secret
impl !RefUnwindSafe for Secret
impl Send for Secret
impl Sync for Secret
impl Unpin for Secret
impl !UnwindSafe for Secret
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