#[non_exhaustive]pub struct UiAsset { /* private fields */ }Expand description
An embedded SolverForge UI asset plus the HTTP metadata used by the Axum adapter.
Implementations§
Source§impl UiAsset
impl UiAsset
Sourcepub fn content_type(&self) -> &'static str
pub fn content_type(&self) -> &'static str
Returns the HTTP Content-Type value for this asset.
Sourcepub fn cache_control(&self) -> &'static str
pub fn cache_control(&self) -> &'static str
Returns the HTTP Cache-Control value for this asset.
Trait Implementations§
impl Copy for UiAsset
impl Eq for UiAsset
impl StructuralPartialEq for UiAsset
Auto Trait Implementations§
impl Freeze for UiAsset
impl RefUnwindSafe for UiAsset
impl Send for UiAsset
impl Sync for UiAsset
impl Unpin for UiAsset
impl UnsafeUnpin for UiAsset
impl UnwindSafe for UiAsset
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