#[repr(C)]pub struct NativeMtpDraft {
pub version: u32,
pub available: bool,
pub token_count: i32,
pub token_ids: [i32; 8],
pub proposal_compute_us: i64,
}Fields§
§version: u32§available: bool§token_count: i32§token_ids: [i32; 8]§proposal_compute_us: i64Trait Implementations§
Source§impl Clone for NativeMtpDraft
impl Clone for NativeMtpDraft
Source§fn clone(&self) -> NativeMtpDraft
fn clone(&self) -> NativeMtpDraft
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 NativeMtpDraft
Source§impl Debug for NativeMtpDraft
impl Debug for NativeMtpDraft
Source§impl Default for NativeMtpDraft
impl Default for NativeMtpDraft
Source§fn default() -> NativeMtpDraft
fn default() -> NativeMtpDraft
Returns the “default value” for a type. Read more
impl Eq for NativeMtpDraft
Source§impl PartialEq for NativeMtpDraft
impl PartialEq for NativeMtpDraft
impl StructuralPartialEq for NativeMtpDraft
Auto Trait Implementations§
impl Freeze for NativeMtpDraft
impl RefUnwindSafe for NativeMtpDraft
impl Send for NativeMtpDraft
impl Sync for NativeMtpDraft
impl Unpin for NativeMtpDraft
impl UnsafeUnpin for NativeMtpDraft
impl UnwindSafe for NativeMtpDraft
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