pub struct ValidationLimits {
pub max_frame_bytes: u64,
pub max_token_len: usize,
pub max_capabilities: usize,
pub max_capability_len: usize,
pub max_payload_bytes: usize,
}Expand description
Validation limits
Fields§
§max_frame_bytes: u64§max_token_len: usize§max_capabilities: usize§max_capability_len: usize§max_payload_bytes: usizeTrait Implementations§
Source§impl Clone for ValidationLimits
impl Clone for ValidationLimits
Source§fn clone(&self) -> ValidationLimits
fn clone(&self) -> ValidationLimits
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 ValidationLimits
impl Debug for ValidationLimits
Auto Trait Implementations§
impl Freeze for ValidationLimits
impl RefUnwindSafe for ValidationLimits
impl Send for ValidationLimits
impl Sync for ValidationLimits
impl Unpin for ValidationLimits
impl UnsafeUnpin for ValidationLimits
impl UnwindSafe for ValidationLimits
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