pub struct EngineProfileFactV2 { /* private fields */ }Expand description
One immutable V2 fact row.
Implementations§
Source§impl EngineProfileFactV2
impl EngineProfileFactV2
Sourcepub const fn new(id: EngineFactIdV2, state: EngineFactStateV2) -> Self
pub const fn new(id: EngineFactIdV2, state: EngineFactStateV2) -> Self
Construct one fact row.
Sourcepub const fn id(&self) -> EngineFactIdV2
pub const fn id(&self) -> EngineFactIdV2
Stable fact id.
Sourcepub const fn state(&self) -> &EngineFactStateV2
pub const fn state(&self) -> &EngineFactStateV2
Explicit evidence state.
Trait Implementations§
Source§impl Clone for EngineProfileFactV2
impl Clone for EngineProfileFactV2
Source§fn clone(&self) -> EngineProfileFactV2
fn clone(&self) -> EngineProfileFactV2
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 EngineProfileFactV2
impl Debug for EngineProfileFactV2
Source§impl<'de> Deserialize<'de> for EngineProfileFactV2
impl<'de> Deserialize<'de> for EngineProfileFactV2
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 EngineProfileFactV2
Source§impl Ord for EngineProfileFactV2
impl Ord for EngineProfileFactV2
Source§fn cmp(&self, other: &EngineProfileFactV2) -> Ordering
fn cmp(&self, other: &EngineProfileFactV2) -> 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 EngineProfileFactV2
impl PartialEq for EngineProfileFactV2
Source§impl PartialOrd for EngineProfileFactV2
impl PartialOrd for EngineProfileFactV2
Source§impl Serialize for EngineProfileFactV2
impl Serialize for EngineProfileFactV2
impl StructuralPartialEq for EngineProfileFactV2
Auto Trait Implementations§
impl Freeze for EngineProfileFactV2
impl RefUnwindSafe for EngineProfileFactV2
impl Send for EngineProfileFactV2
impl Sync for EngineProfileFactV2
impl Unpin for EngineProfileFactV2
impl UnsafeUnpin for EngineProfileFactV2
impl UnwindSafe for EngineProfileFactV2
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