Struct nomad_client::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§
source§impl AllocFileInfo
impl AllocFileInfo
pub fn new() -> AllocFileInfo
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<'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<AllocFileInfo> for AllocFileInfo
impl PartialEq<AllocFileInfo> for AllocFileInfo
source§fn eq(&self, other: &AllocFileInfo) -> bool
fn eq(&self, other: &AllocFileInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.