pub struct LoadedAsset {
pub skill: String,
pub path: String,
pub sha256: String,
pub truncated: bool,
pub bytes: u64,
pub media_type: Option<String>,
pub encoding: String,
pub content: String,
}Fields§
§skill: String§path: String§sha256: String§truncated: bool§bytes: u64§media_type: Option<String>§encoding: String§content: StringTrait Implementations§
Source§impl Clone for LoadedAsset
impl Clone for LoadedAsset
Source§fn clone(&self) -> LoadedAsset
fn clone(&self) -> LoadedAsset
Returns a duplicate 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 LoadedAsset
impl Debug for LoadedAsset
Source§impl<'de> Deserialize<'de> for LoadedAsset
impl<'de> Deserialize<'de> for LoadedAsset
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LoadedAsset, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LoadedAsset, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LoadedAsset
impl PartialEq for LoadedAsset
Source§impl Serialize for LoadedAsset
impl Serialize for LoadedAsset
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for LoadedAsset
impl StructuralPartialEq for LoadedAsset
Auto Trait Implementations§
impl Freeze for LoadedAsset
impl RefUnwindSafe for LoadedAsset
impl Send for LoadedAsset
impl Sync for LoadedAsset
impl Unpin for LoadedAsset
impl UnwindSafe for LoadedAsset
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more