Struct docker_api::api::secret::models::SecretCreateOpts [−][src]
pub struct SecretCreateOpts { /* fields omitted */ }
This is supported on crate feature
swarm
only.Expand description
Structure used to create a new secret with Secrets::create
.
Implementations
Create a new secret with name and data. This function will take care of encoding the secret’s data as base64.
Set the driver of this secret.
Set the templating driver of this secret.
Add a label to this secret
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for SecretCreateOpts
impl Send for SecretCreateOpts
impl Sync for SecretCreateOpts
impl Unpin for SecretCreateOpts
impl UnwindSafe for SecretCreateOpts
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more