pub struct ClientOrderId(pub u64);Tuple Fields§
§0: u64Trait Implementations§
Source§impl BorshDeserialize for ClientOrderId
impl BorshDeserialize for ClientOrderId
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 ClientOrderId
impl BorshSerialize for ClientOrderId
Source§impl Clone for ClientOrderId
impl Clone for ClientOrderId
Source§fn clone(&self) -> ClientOrderId
fn clone(&self) -> ClientOrderId
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 ClientOrderId
impl Debug for ClientOrderId
Source§impl Default for ClientOrderId
impl Default for ClientOrderId
Source§fn default() -> ClientOrderId
fn default() -> ClientOrderId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientOrderId
impl<'de> Deserialize<'de> for ClientOrderId
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 ClientOrderId
impl Display for ClientOrderId
Source§impl FromStr for ClientOrderId
impl FromStr for ClientOrderId
Source§impl Hash for ClientOrderId
impl Hash for ClientOrderId
Source§impl JsonSchema for ClientOrderId
impl JsonSchema for ClientOrderId
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 ClientOrderId
impl Ord for ClientOrderId
Source§fn cmp(&self, other: &ClientOrderId) -> Ordering
fn cmp(&self, other: &ClientOrderId) -> 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 ClientOrderId
impl PartialEq for ClientOrderId
Source§impl PartialOrd for ClientOrderId
impl PartialOrd for ClientOrderId
Source§impl Serialize for ClientOrderId
impl Serialize for ClientOrderId
impl Copy for ClientOrderId
impl Eq for ClientOrderId
impl StructuralPartialEq for ClientOrderId
Auto Trait Implementations§
impl Freeze for ClientOrderId
impl RefUnwindSafe for ClientOrderId
impl Send for ClientOrderId
impl Sync for ClientOrderId
impl Unpin for ClientOrderId
impl UnsafeUnpin for ClientOrderId
impl UnwindSafe for ClientOrderId
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