pub struct StaticAsset {
pub key: String,
pub content_hash: String,
pub content_type: String,
pub immutable: bool,
}Fields§
§key: String§content_hash: String§content_type: String§immutable: boolTrait Implementations§
Source§impl Clone for StaticAsset
impl Clone for StaticAsset
Source§impl Debug for StaticAsset
impl Debug for StaticAsset
Source§impl<'de> Deserialize<'de> for StaticAsset
impl<'de> Deserialize<'de> for StaticAsset
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
impl Eq for StaticAsset
Source§impl PartialEq for StaticAsset
impl PartialEq for StaticAsset
Source§impl Serialize for StaticAsset
impl Serialize for StaticAsset
impl StructuralPartialEq for StaticAsset
Auto Trait Implementations§
impl Freeze for StaticAsset
impl RefUnwindSafe for StaticAsset
impl Send for StaticAsset
impl Sync for StaticAsset
impl Unpin for StaticAsset
impl UnsafeUnpin for StaticAsset
impl UnwindSafe for StaticAsset
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.