pub struct ContainerPathStat {
pub name: String,
pub size: i64,
pub mode: u32,
pub mtime: String,
pub link_target: Option<String>,
}
Expand description
ContainerPathStat is used to encode the header from GET “/containers/{name:.*}/archive” “Name” is the file or directory name.
Fields§
§name: String
§size: i64
§mode: u32
§mtime: String
§link_target: Option<String>
Trait Implementations§
Source§impl Clone for ContainerPathStat
impl Clone for ContainerPathStat
Source§fn clone(&self) -> ContainerPathStat
fn clone(&self) -> ContainerPathStat
Returns a copy 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 ContainerPathStat
impl Debug for ContainerPathStat
Source§impl<'de> Deserialize<'de> for ContainerPathStat
impl<'de> Deserialize<'de> for ContainerPathStat
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
Auto Trait Implementations§
impl Freeze for ContainerPathStat
impl RefUnwindSafe for ContainerPathStat
impl Send for ContainerPathStat
impl Sync for ContainerPathStat
impl Unpin for ContainerPathStat
impl UnwindSafe for ContainerPathStat
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