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§
Source§impl Clone for ConfigSpec
impl Clone for ConfigSpec
Source§fn clone(&self) -> ConfigSpec
fn clone(&self) -> ConfigSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConfigSpec
impl Debug for ConfigSpec
Source§impl<'de> Deserialize<'de> for ConfigSpec
impl<'de> Deserialize<'de> for ConfigSpec
Source§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
Source§impl PartialEq for ConfigSpec
impl PartialEq for ConfigSpec
Source§impl Serialize for ConfigSpec
impl Serialize for ConfigSpec
impl StructuralPartialEq for ConfigSpec
Auto Trait Implementations§
impl Freeze for ConfigSpec
impl RefUnwindSafe for ConfigSpec
impl Send for ConfigSpec
impl Sync for ConfigSpec
impl Unpin for ConfigSpec
impl UnwindSafe for ConfigSpec
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