pub struct Embedded {
pub config: Option<(&'static str, bool)>,
pub built_at: u64,
pub public: &'static [EmbeddedFile],
pub assets: &'static [EmbeddedFile],
pub client: &'static [EmbeddedFile],
}Expand description
Everything a release binary carries with it.
Fields§
§config: Option<(&'static str, bool)>Contents of the configuration file and whether it is JSON.
built_at: u64Build time in seconds since the Unix epoch (Last-Modified).
public: &'static [EmbeddedFile]Sorted by path.
assets: &'static [EmbeddedFile]Sorted by path.
client: &'static [EmbeddedFile]Sorted by path.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Embedded
impl Freeze for Embedded
impl Move for Embedded
impl RefUnwindSafe for Embedded
impl Send for Embedded
impl Sync for Embedded
impl Unpin for Embedded
impl UnsafeUnpin for Embedded
impl UnwindSafe for Embedded
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