Struct nomad_client_rs::models::alloc_file_info::AllocFileInfo
source · pub struct AllocFileInfo {
pub name: Option<String>,
pub is_dir: Option<bool>,
pub size: Option<i64>,
pub file_mode: Option<String>,
pub mod_time: Option<String>,
pub content_type: Option<String>,
}Fields§
§name: Option<String>§is_dir: Option<bool>§size: Option<i64>§file_mode: Option<String>§mod_time: Option<String>§content_type: Option<String>Implementations§
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