pub struct AllocFileInfo {
pub is_dir: bool,
pub size: i64,
pub file_mode: String,
pub mod_time: DateTime<Utc>,
pub content_type: String,
pub name: 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 client.
Fields§
§is_dir: bool
§size: i64
§file_mode: String
§mod_time: DateTime<Utc>
§content_type: String
§name: String
Implementations§
Source§impl AllocFileInfo
impl AllocFileInfo
pub fn builder() -> AllocFileInfoBuilder
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 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