pub enum ActivationState {
NeedsActivation(Option<String>),
Activated(LicenseTokenClaims),
}Expand description
Represents the software’s current activation state.
Variants§
NeedsActivation(Option<String>)
The plugin requires activation.
The provided String contains the URL to open in the user’s browser for online activation. If it is None, only offline activation is available at this point, but online activation may become available later with a new ActivationState.
Activated(LicenseTokenClaims)
The plugin has been successfully activated.
Auto Trait Implementations§
impl Freeze for ActivationState
impl RefUnwindSafe for ActivationState
impl Send for ActivationState
impl Sync for ActivationState
impl Unpin for ActivationState
impl UnsafeUnpin for ActivationState
impl UnwindSafe for ActivationState
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