pub struct InspectSecret {
pub gid: Option<i32>,
pub id: Option<String>,
pub mode: Option<i32>,
pub name: Option<String>,
pub uid: Option<i32>,
}
Expand description
InspectSecret : InspectSecret contains information on secrets mounted inside the container
Fields§
§gid: Option<i32>
ID is the GID of the mounted secret file
id: Option<String>
ID is the ID of the secret
mode: Option<i32>
ID is the ID of the mode of the mounted secret file
name: Option<String>
Name is the name of the secret
uid: Option<i32>
ID is the UID of the mounted secret file
Implementations§
Source§impl InspectSecret
impl InspectSecret
Sourcepub fn new() -> InspectSecret
pub fn new() -> InspectSecret
InspectSecret contains information on secrets mounted inside the container
Trait Implementations§
Source§impl Clone for InspectSecret
impl Clone for InspectSecret
Source§fn clone(&self) -> InspectSecret
fn clone(&self) -> InspectSecret
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 InspectSecret
impl Debug for InspectSecret
Source§impl Default for InspectSecret
impl Default for InspectSecret
Source§fn default() -> InspectSecret
fn default() -> InspectSecret
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InspectSecret
impl<'de> Deserialize<'de> for InspectSecret
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 InspectSecret
impl PartialEq for InspectSecret
Source§impl Serialize for InspectSecret
impl Serialize for InspectSecret
impl StructuralPartialEq for InspectSecret
Auto Trait Implementations§
impl Freeze for InspectSecret
impl RefUnwindSafe for InspectSecret
impl Send for InspectSecret
impl Sync for InspectSecret
impl Unpin for InspectSecret
impl UnwindSafe for InspectSecret
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