pub struct AccountLimits {
pub imports: i64,
pub exports: i64,
pub wildcards: bool,
pub disallow_bearer: bool,
pub conn: i64,
pub leaf: i64,
}Expand description
Account-wide limits (a -1 value means unlimited).
Fields§
§imports: i64Maximum number of imports.
exports: i64Maximum number of exports.
wildcards: boolWhether wildcard export subjects are allowed.
disallow_bearer: boolWhether bearer (non-NKey) user tokens are disallowed.
conn: i64Maximum active client connections.
leaf: i64Maximum leaf-node connections.
Trait Implementations§
Source§impl Clone for AccountLimits
impl Clone for AccountLimits
Source§fn clone(&self) -> AccountLimits
fn clone(&self) -> AccountLimits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AccountLimits
impl Default for AccountLimits
Source§fn default() -> AccountLimits
fn default() -> AccountLimits
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AccountLimits
impl RefUnwindSafe for AccountLimits
impl Send for AccountLimits
impl Sync for AccountLimits
impl Unpin for AccountLimits
impl UnsafeUnpin for AccountLimits
impl UnwindSafe for AccountLimits
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