pub struct TriggerOrderId(pub u64);Tuple Fields§
§0: u64Trait Implementations§
Source§impl BorshDeserialize for TriggerOrderId
impl BorshDeserialize for TriggerOrderId
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for TriggerOrderId
impl BorshSerialize for TriggerOrderId
Source§impl Clone for TriggerOrderId
impl Clone for TriggerOrderId
Source§fn clone(&self) -> TriggerOrderId
fn clone(&self) -> TriggerOrderId
Returns a duplicate of the value. Read more
1.0.0 · 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 TriggerOrderId
impl Debug for TriggerOrderId
Source§impl Default for TriggerOrderId
impl Default for TriggerOrderId
Source§fn default() -> TriggerOrderId
fn default() -> TriggerOrderId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TriggerOrderId
impl<'de> Deserialize<'de> for TriggerOrderId
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 TriggerOrderId
impl Display for TriggerOrderId
Source§impl FromStr for TriggerOrderId
impl FromStr for TriggerOrderId
Source§impl Hash for TriggerOrderId
impl Hash for TriggerOrderId
Source§impl JsonSchema for TriggerOrderId
impl JsonSchema for TriggerOrderId
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§impl Ord for TriggerOrderId
impl Ord for TriggerOrderId
Source§fn cmp(&self, other: &TriggerOrderId) -> Ordering
fn cmp(&self, other: &TriggerOrderId) -> Ordering
1.21.0 · 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 TriggerOrderId
impl PartialEq for TriggerOrderId
Source§impl PartialOrd for TriggerOrderId
impl PartialOrd for TriggerOrderId
Source§impl Serialize for TriggerOrderId
impl Serialize for TriggerOrderId
impl Copy for TriggerOrderId
impl Eq for TriggerOrderId
impl StructuralPartialEq for TriggerOrderId
Auto Trait Implementations§
impl Freeze for TriggerOrderId
impl RefUnwindSafe for TriggerOrderId
impl Send for TriggerOrderId
impl Sync for TriggerOrderId
impl Unpin for TriggerOrderId
impl UnsafeUnpin for TriggerOrderId
impl UnwindSafe for TriggerOrderId
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