pub struct EngineSettingRowV3 { /* private fields */ }Expand description
One materialized V3 setting row.
Implementations§
Source§impl EngineSettingRowV3
impl EngineSettingRowV3
Sourcepub const fn new(
id: EngineSettingIdV2,
value: EngineSettingValueV2,
value_origin: EngineSettingValueOriginV3,
) -> Self
pub const fn new( id: EngineSettingIdV2, value: EngineSettingValueV2, value_origin: EngineSettingValueOriginV3, ) -> Self
Construct one origin-bearing row.
Sourcepub const fn id(&self) -> EngineSettingIdV2
pub const fn id(&self) -> EngineSettingIdV2
Stable setting id.
Sourcepub const fn value(&self) -> &EngineSettingValueV2
pub const fn value(&self) -> &EngineSettingValueV2
Materialized value.
Sourcepub const fn value_origin(&self) -> EngineSettingValueOriginV3
pub const fn value_origin(&self) -> EngineSettingValueOriginV3
Exact value authority.
Trait Implementations§
Source§impl Clone for EngineSettingRowV3
impl Clone for EngineSettingRowV3
Source§fn clone(&self) -> EngineSettingRowV3
fn clone(&self) -> EngineSettingRowV3
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 EngineSettingRowV3
impl Debug for EngineSettingRowV3
Source§impl<'de> Deserialize<'de> for EngineSettingRowV3
impl<'de> Deserialize<'de> for EngineSettingRowV3
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 EngineSettingRowV3
Source§impl Ord for EngineSettingRowV3
impl Ord for EngineSettingRowV3
Source§fn cmp(&self, other: &EngineSettingRowV3) -> Ordering
fn cmp(&self, other: &EngineSettingRowV3) -> 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 EngineSettingRowV3
impl PartialEq for EngineSettingRowV3
Source§impl PartialOrd for EngineSettingRowV3
impl PartialOrd for EngineSettingRowV3
Source§impl Serialize for EngineSettingRowV3
impl Serialize for EngineSettingRowV3
impl StructuralPartialEq for EngineSettingRowV3
Auto Trait Implementations§
impl Freeze for EngineSettingRowV3
impl RefUnwindSafe for EngineSettingRowV3
impl Send for EngineSettingRowV3
impl Sync for EngineSettingRowV3
impl Unpin for EngineSettingRowV3
impl UnsafeUnpin for EngineSettingRowV3
impl UnwindSafe for EngineSettingRowV3
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