pub struct PersistedState {
pub printers: Vec<PrinterConfig>,
}Expand description
What the framework persists between runs — just the registered printers.
Fields§
§printers: Vec<PrinterConfig>Implementations§
Trait Implementations§
Source§impl Clone for PersistedState
impl Clone for PersistedState
Source§fn clone(&self) -> PersistedState
fn clone(&self) -> PersistedState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PersistedState
impl Debug for PersistedState
Source§impl Default for PersistedState
impl Default for PersistedState
Source§fn default() -> PersistedState
fn default() -> PersistedState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PersistedState
impl<'de> Deserialize<'de> for PersistedState
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 PersistedState
impl RefUnwindSafe for PersistedState
impl Send for PersistedState
impl Sync for PersistedState
impl Unpin for PersistedState
impl UnsafeUnpin for PersistedState
impl UnwindSafe for PersistedState
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