pub struct VgpuLicenseInfo {
pub is_licensed: bool,
pub expiry: VgpuLicenseExpiry,
pub current_state: u32,
}Fields§
§is_licensed: bool§expiry: VgpuLicenseExpiry§current_state: u32Trait Implementations§
Source§impl Clone for VgpuLicenseInfo
impl Clone for VgpuLicenseInfo
Source§fn clone(&self) -> VgpuLicenseInfo
fn clone(&self) -> VgpuLicenseInfo
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 moreSource§impl Debug for VgpuLicenseInfo
impl Debug for VgpuLicenseInfo
Source§impl From<nvmlVgpuLicenseInfo_st> for VgpuLicenseInfo
impl From<nvmlVgpuLicenseInfo_st> for VgpuLicenseInfo
Source§fn from(value: nvmlVgpuLicenseInfo_t) -> Self
fn from(value: nvmlVgpuLicenseInfo_t) -> Self
Converts to this type from the input type.
Source§impl Hash for VgpuLicenseInfo
impl Hash for VgpuLicenseInfo
Source§impl PartialEq for VgpuLicenseInfo
impl PartialEq for VgpuLicenseInfo
Source§fn eq(&self, other: &VgpuLicenseInfo) -> bool
fn eq(&self, other: &VgpuLicenseInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VgpuLicenseInfo
impl Eq for VgpuLicenseInfo
impl StructuralPartialEq for VgpuLicenseInfo
Auto Trait Implementations§
impl Freeze for VgpuLicenseInfo
impl RefUnwindSafe for VgpuLicenseInfo
impl Send for VgpuLicenseInfo
impl Sync for VgpuLicenseInfo
impl Unpin for VgpuLicenseInfo
impl UnsafeUnpin for VgpuLicenseInfo
impl UnwindSafe for VgpuLicenseInfo
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