pub struct SyncRuleExtended {
pub description: String,
pub enabled: bool,
pub limit: i32,
pub schedule: Option<SyncRuleSchedule>,
pub id: String,
pub _type: String,
}Fields§
§description: StringUser-entered description of this performance rule.
enabled: boolWhether this performance rule is currently in effect during its specified intervals.
limit: i32Amount the specified system resource type is limited by this rule. Units are kb/s for bandwidth, files/s for file-count, processing percentage used for cpu, or percentage of maximum available workers.
schedule: Option<SyncRuleSchedule>A schedule defining when during a week this performance rule is in effect. If unspecified or null, the schedule will always be in effect.
id: StringThe system ID given to this performance rule.
_type: StringThe type of system resource this rule limits.
Trait Implementations§
Source§impl Debug for SyncRuleExtended
impl Debug for SyncRuleExtended
Source§impl<'de> Deserialize<'de> for SyncRuleExtended
impl<'de> Deserialize<'de> for SyncRuleExtended
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 SyncRuleExtended
impl RefUnwindSafe for SyncRuleExtended
impl Send for SyncRuleExtended
impl Sync for SyncRuleExtended
impl Unpin for SyncRuleExtended
impl UnwindSafe for SyncRuleExtended
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> 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