Struct docker_api_stubs::models::ConfigSpec
source · [−]pub struct ConfigSpec {
pub data: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub templating: Option<Driver>,
}
Fields
data: Option<String>
Base64-url-safe-encoded (RFC 4648) config data.
labels: Option<HashMap<String, String>>
User-defined key/value metadata.
name: Option<String>
User-defined name of the config.
templating: Option<Driver>
Trait Implementations
sourceimpl Clone for ConfigSpec
impl Clone for ConfigSpec
sourcefn clone(&self) -> ConfigSpec
fn clone(&self) -> ConfigSpec
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ConfigSpec
impl Debug for ConfigSpec
sourceimpl<'de> Deserialize<'de> for ConfigSpec
impl<'de> Deserialize<'de> for ConfigSpec
sourcefn 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
sourceimpl PartialEq<ConfigSpec> for ConfigSpec
impl PartialEq<ConfigSpec> for ConfigSpec
sourcefn eq(&self, other: &ConfigSpec) -> bool
fn eq(&self, other: &ConfigSpec) -> bool
sourceimpl Serialize for ConfigSpec
impl Serialize for ConfigSpec
impl StructuralPartialEq for ConfigSpec
Auto Trait Implementations
impl RefUnwindSafe for ConfigSpec
impl Send for ConfigSpec
impl Sync for ConfigSpec
impl Unpin for ConfigSpec
impl UnwindSafe for ConfigSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more