pub struct EngineSettingRowV1 { /* private fields */ }Expand description
One stable-id-keyed materialized setting value.
Implementations§
Source§impl EngineSettingRowV1
impl EngineSettingRowV1
Sourcepub const fn new(id: EngineSettingIdV1, value: EngineSettingValueV1) -> Self
pub const fn new(id: EngineSettingIdV1, value: EngineSettingValueV1) -> Self
Construct one materialized setting row.
Sourcepub const fn id(&self) -> EngineSettingIdV1
pub const fn id(&self) -> EngineSettingIdV1
Stable setting id.
Sourcepub const fn value(&self) -> &EngineSettingValueV1
pub const fn value(&self) -> &EngineSettingValueV1
Fully materialized value.
Trait Implementations§
Source§impl Clone for EngineSettingRowV1
impl Clone for EngineSettingRowV1
Source§fn clone(&self) -> EngineSettingRowV1
fn clone(&self) -> EngineSettingRowV1
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 EngineSettingRowV1
impl Debug for EngineSettingRowV1
Source§impl<'de> Deserialize<'de> for EngineSettingRowV1
impl<'de> Deserialize<'de> for EngineSettingRowV1
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
impl Eq for EngineSettingRowV1
Source§impl Ord for EngineSettingRowV1
impl Ord for EngineSettingRowV1
Source§fn cmp(&self, other: &EngineSettingRowV1) -> Ordering
fn cmp(&self, other: &EngineSettingRowV1) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EngineSettingRowV1
impl PartialEq for EngineSettingRowV1
Source§impl PartialOrd for EngineSettingRowV1
impl PartialOrd for EngineSettingRowV1
Source§impl Serialize for EngineSettingRowV1
impl Serialize for EngineSettingRowV1
impl StructuralPartialEq for EngineSettingRowV1
Auto Trait Implementations§
impl Freeze for EngineSettingRowV1
impl RefUnwindSafe for EngineSettingRowV1
impl Send for EngineSettingRowV1
impl Sync for EngineSettingRowV1
impl Unpin for EngineSettingRowV1
impl UnsafeUnpin for EngineSettingRowV1
impl UnwindSafe for EngineSettingRowV1
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