pub struct EmbeddedFile {
pub path: &'static str,
pub bytes: &'static [u8],
pub content_type: &'static str,
}Expand description
A single dashboard file embedded into a caller’s binary.
Fields§
§path: &'static str§bytes: &'static [u8]§content_type: &'static strTrait Implementations§
Source§impl Clone for EmbeddedFile
impl Clone for EmbeddedFile
impl Copy for EmbeddedFile
Auto Trait Implementations§
impl Freeze for EmbeddedFile
impl RefUnwindSafe for EmbeddedFile
impl Send for EmbeddedFile
impl Sync for EmbeddedFile
impl Unpin for EmbeddedFile
impl UnsafeUnpin for EmbeddedFile
impl UnwindSafe for EmbeddedFile
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