pub struct TrunkDocumentAsset {
pub order: Option<usize>,
pub location: String,
pub html: String,
}Expand description
Markup generated by one Trunk asset pipeline, as written to Trunk’s HTML.
Fields§
§order: Option<usize>Source HTML order, absent for Trunk’s implicit Cargo application.
location: StringWhere Trunk inserted the markup: head, body, or unknown.
html: StringExact generated markup, including hashed URLs, SRI and nonce placeholders.
Trait Implementations§
Source§impl Clone for TrunkDocumentAsset
impl Clone for TrunkDocumentAsset
Source§impl Debug for TrunkDocumentAsset
impl Debug for TrunkDocumentAsset
Source§impl<'de> Deserialize<'de> for TrunkDocumentAsset
impl<'de> Deserialize<'de> for TrunkDocumentAsset
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 TrunkDocumentAsset
Source§impl PartialEq for TrunkDocumentAsset
impl PartialEq for TrunkDocumentAsset
impl StructuralPartialEq for TrunkDocumentAsset
Auto Trait Implementations§
impl Forget for TrunkDocumentAsset
impl Freeze for TrunkDocumentAsset
impl Move for TrunkDocumentAsset
impl RefUnwindSafe for TrunkDocumentAsset
impl Send for TrunkDocumentAsset
impl Sync for TrunkDocumentAsset
impl Unpin for TrunkDocumentAsset
impl UnsafeUnpin for TrunkDocumentAsset
impl UnwindSafe for TrunkDocumentAsset
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