[][src]Struct cli::types::Cache

pub struct Cache {
    pub file_name: Option<String>,
    pub last_update_check: Option<u64>,
}

Holds persisted data used by cargo-make

Fields

file_name: Option<String>

File from which the cache file was loaded from

last_update_check: Option<u64>

Holds last update check with returned no updates result

Methods

impl Cache[src]

pub fn new() -> Cache[src]

Returns new instance

Trait Implementations

impl Clone for Cache[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Cache[src]

impl Serialize for Cache[src]

impl<'de> Deserialize<'de> for Cache[src]

Auto Trait Implementations

impl Send for Cache

impl Unpin for Cache

impl Sync for Cache

impl UnwindSafe for Cache

impl RefUnwindSafe for Cache

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]