pub struct AllocFileInfo {
pub mod_time: DateTime<Utc>,
pub content_type: String,
pub name: String,
pub is_dir: bool,
pub size: i64,
pub file_mode: String,
}
Expand description
AllocFileInfo holds information about a file inside the AllocDir
This struct was generated based on the Go types of the official Nomad API.
Fields§
§mod_time: DateTime<Utc>
§content_type: String
§name: String
§is_dir: bool
§size: i64
§file_mode: String
Trait Implementations§
Source§impl Clone for AllocFileInfo
impl Clone for AllocFileInfo
Source§fn clone(&self) -> AllocFileInfo
fn clone(&self) -> AllocFileInfo
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 AllocFileInfo
impl Debug for AllocFileInfo
Source§impl Default for AllocFileInfo
impl Default for AllocFileInfo
Source§fn default() -> AllocFileInfo
fn default() -> AllocFileInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AllocFileInfo
impl<'de> Deserialize<'de> for AllocFileInfo
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 AllocFileInfo
impl PartialEq for AllocFileInfo
Source§impl Serialize for AllocFileInfo
impl Serialize for AllocFileInfo
impl StructuralPartialEq for AllocFileInfo
Auto Trait Implementations§
impl Freeze for AllocFileInfo
impl RefUnwindSafe for AllocFileInfo
impl Send for AllocFileInfo
impl Sync for AllocFileInfo
impl Unpin for AllocFileInfo
impl UnwindSafe for AllocFileInfo
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