pub struct SetCapBytesParams {
pub cap_bytes: u64,
}Expand description
Params for cache.setCapBytes.
Fields§
§cap_bytes: u64The requested cap in bytes (floored at 64 MiB by the node).
Trait Implementations§
Source§impl Clone for SetCapBytesParams
impl Clone for SetCapBytesParams
Source§fn clone(&self) -> SetCapBytesParams
fn clone(&self) -> SetCapBytesParams
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 SetCapBytesParams
impl Debug for SetCapBytesParams
Source§impl<'de> Deserialize<'de> for SetCapBytesParams
impl<'de> Deserialize<'de> for SetCapBytesParams
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
impl Eq for SetCapBytesParams
Source§impl PartialEq for SetCapBytesParams
impl PartialEq for SetCapBytesParams
Source§impl Serialize for SetCapBytesParams
impl Serialize for SetCapBytesParams
impl StructuralPartialEq for SetCapBytesParams
Auto Trait Implementations§
impl Freeze for SetCapBytesParams
impl RefUnwindSafe for SetCapBytesParams
impl Send for SetCapBytesParams
impl Sync for SetCapBytesParams
impl Unpin for SetCapBytesParams
impl UnsafeUnpin for SetCapBytesParams
impl UnwindSafe for SetCapBytesParams
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