pub struct SerializedSecret {
pub lc: i32,
pub type_: String,
pub id: Vec<String>,
pub name: Option<String>,
pub graph: Option<HashMap<String, Value>>,
}Expand description
Serialized secret representation.
Used to represent secret values that should not be serialized directly.
Fields§
§lc: i32The version of the serialization format.
type_: StringThe type of serialization. Always “secret”.
id: Vec<String>The unique identifier of the secret (usually environment variable name).
name: Option<String>The name of the object (optional).
graph: Option<HashMap<String, Value>>The graph of the object (optional).
Implementations§
Trait Implementations§
Source§impl Clone for SerializedSecret
impl Clone for SerializedSecret
Source§fn clone(&self) -> SerializedSecret
fn clone(&self) -> SerializedSecret
Returns a duplicate of the value. Read more
1.0.0 · 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 SerializedSecret
impl Debug for SerializedSecret
Source§impl<'de> Deserialize<'de> for SerializedSecret
impl<'de> Deserialize<'de> for SerializedSecret
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 From<SerializedSecret> for Serialized
impl From<SerializedSecret> for Serialized
Source§fn from(s: SerializedSecret) -> Self
fn from(s: SerializedSecret) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SerializedSecret
impl PartialEq for SerializedSecret
Source§impl Serialize for SerializedSecret
impl Serialize for SerializedSecret
impl StructuralPartialEq for SerializedSecret
Auto Trait Implementations§
impl Freeze for SerializedSecret
impl RefUnwindSafe for SerializedSecret
impl Send for SerializedSecret
impl Sync for SerializedSecret
impl Unpin for SerializedSecret
impl UnwindSafe for SerializedSecret
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