pub struct PageConfig {
pub subtitle: Option<String>,
pub component_id: Option<String>,
}Fields§
§subtitle: Option<String>§component_id: Option<String>Trait Implementations§
Source§impl Clone for PageConfig
impl Clone for PageConfig
Source§fn clone(&self) -> PageConfig
fn clone(&self) -> PageConfig
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 PageConfig
impl Debug for PageConfig
Source§impl Default for PageConfig
impl Default for PageConfig
Source§fn default() -> PageConfig
fn default() -> PageConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PageConfigwhere
PageConfig: Default,
impl<'de> Deserialize<'de> for PageConfigwhere
PageConfig: Default,
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
Source§impl PartialEq for PageConfig
impl PartialEq for PageConfig
Source§impl Serialize for PageConfig
impl Serialize for PageConfig
impl StructuralPartialEq for PageConfig
Auto Trait Implementations§
impl Freeze for PageConfig
impl RefUnwindSafe for PageConfig
impl Send for PageConfig
impl Sync for PageConfig
impl Unpin for PageConfig
impl UnsafeUnpin for PageConfig
impl UnwindSafe for PageConfig
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