pub struct TrialPolicy {
pub duration: Duration,
pub features: Vec<String>,
pub quotas: BTreeMap<String, u64>,
}Expand description
What a trial grants and for how long. Product-defined; the durations that enforce a licence belong in the product’s catalogue, not in its settings.
Fields§
§duration: Duration§features: Vec<String>§quotas: BTreeMap<String, u64>Trait Implementations§
Source§impl Clone for TrialPolicy
impl Clone for TrialPolicy
Source§fn clone(&self) -> TrialPolicy
fn clone(&self) -> TrialPolicy
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for TrialPolicy
impl RefUnwindSafe for TrialPolicy
impl Send for TrialPolicy
impl Sync for TrialPolicy
impl Unpin for TrialPolicy
impl UnwindSafe for TrialPolicy
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