pub struct ProgramId(pub u128);Expand description
Unique identifier for a whole program (set of linked modules).
Tuple Fields§
§0: u128Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ProgramId
impl<'de> Deserialize<'de> for ProgramId
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for ProgramId
impl Ord for ProgramId
Source§impl PartialOrd for ProgramId
impl PartialOrd for ProgramId
impl Copy for ProgramId
impl Eq for ProgramId
impl StructuralPartialEq for ProgramId
Auto Trait Implementations§
impl Freeze for ProgramId
impl RefUnwindSafe for ProgramId
impl Send for ProgramId
impl Sync for ProgramId
impl Unpin for ProgramId
impl UnsafeUnpin for ProgramId
impl UnwindSafe for ProgramId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> SafLogValue for Twhere
T: EntityId,
impl<T> SafLogValue for Twhere
T: EntityId,
Source§fn fmt_saf_log(&self, buf: &mut String)
fn fmt_saf_log(&self, buf: &mut String)
Append the DSL-formatted representation to
buf.Source§fn to_saf_log(&self) -> String
fn to_saf_log(&self) -> String
Convenience: format to a new
String.