pub struct StaticStateEntry {
pub name: String,
pub file: String,
pub content_type: String,
}Expand description
Entry in the static build manifest.
Fields§
§name: StringLogical name of the state (e.g., “landing_page”)
file: StringRelative path to the generated JSON file
content_type: StringMIME type of the content
Trait Implementations§
Source§impl Clone for StaticStateEntry
impl Clone for StaticStateEntry
Source§fn clone(&self) -> StaticStateEntry
fn clone(&self) -> StaticStateEntry
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 StaticStateEntry
impl Debug for StaticStateEntry
Source§impl<'de> Deserialize<'de> for StaticStateEntry
impl<'de> Deserialize<'de> for StaticStateEntry
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
Auto Trait Implementations§
impl Freeze for StaticStateEntry
impl RefUnwindSafe for StaticStateEntry
impl Send for StaticStateEntry
impl Sync for StaticStateEntry
impl Unpin for StaticStateEntry
impl UnsafeUnpin for StaticStateEntry
impl UnwindSafe for StaticStateEntry
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