Struct ambient_asset_cache::AssetLifetime
source · pub struct AssetLifetime {
pub start_load: DateTime<Utc>,
pub end_load: Option<DateTime<Utc>>,
pub keepalive_start: Option<DateTime<Utc>>,
pub keepalive_end: Option<DateTime<Utc>>,
pub dropped: Option<DateTime<Utc>>,
pub aborted: Option<DateTime<Utc>>,
pub keepalive: bool,
}
Fields§
§start_load: DateTime<Utc>
§end_load: Option<DateTime<Utc>>
§keepalive_start: Option<DateTime<Utc>>
§keepalive_end: Option<DateTime<Utc>>
§dropped: Option<DateTime<Utc>>
§aborted: Option<DateTime<Utc>>
§keepalive: bool
Implementations§
Trait Implementations§
source§impl Clone for AssetLifetime
impl Clone for AssetLifetime
source§fn clone(&self) -> AssetLifetime
fn clone(&self) -> AssetLifetime
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 AssetLifetime
impl Debug for AssetLifetime
source§impl<'de> Deserialize<'de> for AssetLifetime
impl<'de> Deserialize<'de> for AssetLifetime
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
Auto Trait Implementations§
impl RefUnwindSafe for AssetLifetime
impl Send for AssetLifetime
impl Sync for AssetLifetime
impl Unpin for AssetLifetime
impl UnwindSafe for AssetLifetime
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