pub struct License {Show 13 fields
pub id: Uuid,
pub customer_id: Uuid,
pub product_id: Uuid,
pub bundle_version: String,
pub connectivity_mode: ConnectivityMode,
pub seat_count: i64,
pub expiry_at: Option<i64>,
pub status: LicenseStatus,
pub superseded_by: Option<Uuid>,
pub revoked_at: Option<i64>,
pub revocation_reason: Option<String>,
pub created_at: i64,
pub email_sent_at: Option<i64>,
}Fields§
§id: Uuid§customer_id: Uuid§product_id: Uuid§bundle_version: String§connectivity_mode: ConnectivityMode§seat_count: i64§expiry_at: Option<i64>§status: LicenseStatus§superseded_by: Option<Uuid>§revoked_at: Option<i64>§revocation_reason: Option<String>§created_at: i64§email_sent_at: Option<i64>Trait Implementations§
impl StructuralPartialEq for License
Auto Trait Implementations§
impl Freeze for License
impl RefUnwindSafe for License
impl Send for License
impl Sync for License
impl Unpin for License
impl UnsafeUnpin for License
impl UnwindSafe for License
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<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more