#[non_exhaustive]pub struct EntropyConfig {
pub rate_limiter: Option<Value>,
}Expand description
Validated /entropy PUT body. The device has only one tunable today: a rate
limiter, which is passthrough-validated by the device layer.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.rate_limiter: Option<Value>Optional rate limiter passthrough.
Trait Implementations§
Source§impl Clone for EntropyConfig
impl Clone for EntropyConfig
Source§fn clone(&self) -> EntropyConfig
fn clone(&self) -> EntropyConfig
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 Debug for EntropyConfig
impl Debug for EntropyConfig
Source§impl Default for EntropyConfig
impl Default for EntropyConfig
Source§fn default() -> EntropyConfig
fn default() -> EntropyConfig
Returns the “default value” for a type. Read more
Source§impl Serialize for EntropyConfig
impl Serialize for EntropyConfig
Source§impl TryFrom<RawEntropyConfig> for EntropyConfig
impl TryFrom<RawEntropyConfig> for EntropyConfig
Auto Trait Implementations§
impl Freeze for EntropyConfig
impl RefUnwindSafe for EntropyConfig
impl Send for EntropyConfig
impl Sync for EntropyConfig
impl Unpin for EntropyConfig
impl UnsafeUnpin for EntropyConfig
impl UnwindSafe for EntropyConfig
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