pub struct ReleaseElementId(/* private fields */);Expand description
A FRED release-table element identifier — the numeric id of a node in a
release’s table tree (a section, table, or series row; see
fred/release/tables).
A Copy newtype over u32, mirroring ReleaseId; #[serde(transparent)]
carries it as the bare integer FRED sends (ADR-0005). Ord lets the table
deserializer order its roots deterministically by id.
Implementations§
Trait Implementations§
Source§impl Clone for ReleaseElementId
impl Clone for ReleaseElementId
Source§fn clone(&self) -> ReleaseElementId
fn clone(&self) -> ReleaseElementId
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 moreimpl Copy for ReleaseElementId
Source§impl Debug for ReleaseElementId
impl Debug for ReleaseElementId
Source§impl Default for ReleaseElementId
impl Default for ReleaseElementId
Source§fn default() -> ReleaseElementId
fn default() -> ReleaseElementId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReleaseElementId
impl<'de> Deserialize<'de> for ReleaseElementId
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 Display for ReleaseElementId
impl Display for ReleaseElementId
impl Eq for ReleaseElementId
Source§impl From<u32> for ReleaseElementId
impl From<u32> for ReleaseElementId
Source§impl Hash for ReleaseElementId
impl Hash for ReleaseElementId
Source§impl Ord for ReleaseElementId
impl Ord for ReleaseElementId
Source§fn cmp(&self, other: &ReleaseElementId) -> Ordering
fn cmp(&self, other: &ReleaseElementId) -> 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 ReleaseElementId
impl PartialEq for ReleaseElementId
Source§fn eq(&self, other: &ReleaseElementId) -> bool
fn eq(&self, other: &ReleaseElementId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ReleaseElementId
impl PartialOrd for ReleaseElementId
Source§impl Serialize for ReleaseElementId
impl Serialize for ReleaseElementId
impl StructuralPartialEq for ReleaseElementId
Auto Trait Implementations§
impl Freeze for ReleaseElementId
impl RefUnwindSafe for ReleaseElementId
impl Send for ReleaseElementId
impl Sync for ReleaseElementId
impl Unpin for ReleaseElementId
impl UnsafeUnpin for ReleaseElementId
impl UnwindSafe for ReleaseElementId
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