pub struct PlanLimits {
pub max_schedules: usize,
pub max_models: usize,
pub max_workflows: usize,
pub max_skills: usize,
pub audit_retention_days: u32,
pub cloud_execution: bool,
pub team_sharing: bool,
pub autocomplete: bool,
pub live_streaming: bool,
pub auto_fix: bool,
pub nl_workflow: bool,
}Expand description
Feature limits per plan.
Fields§
§max_schedules: usize§max_models: usize§max_workflows: usize§max_skills: usize§audit_retention_days: u32§cloud_execution: bool§team_sharing: bool§autocomplete: bool§live_streaming: bool§auto_fix: bool§nl_workflow: boolImplementations§
Source§impl PlanLimits
impl PlanLimits
Sourcepub fn check_schedule_limit(&self, current: usize) -> bool
pub fn check_schedule_limit(&self, current: usize) -> bool
Check if a feature is available.
pub fn check_workflow_limit(&self, current: usize) -> bool
pub fn check_skill_limit(&self, current: usize) -> bool
Trait Implementations§
Source§impl Clone for PlanLimits
impl Clone for PlanLimits
Source§fn clone(&self) -> PlanLimits
fn clone(&self) -> PlanLimits
Returns a duplicate 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 moreSource§impl Debug for PlanLimits
impl Debug for PlanLimits
Source§impl<'de> Deserialize<'de> for PlanLimits
impl<'de> Deserialize<'de> for PlanLimits
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PlanLimits
impl RefUnwindSafe for PlanLimits
impl Send for PlanLimits
impl Sync for PlanLimits
impl Unpin for PlanLimits
impl UnsafeUnpin for PlanLimits
impl UnwindSafe for PlanLimits
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