pub struct CollateralBufferParams {}Expand description
control.collateral.buffer params (none).
The caller names neither an epoch nor a horizon. Both are the NODE’s: the served set and the reclaim state the buffer rests on exist only for the epoch being posted against, and a caller-chosen horizon would let a client quietly shrink the recommendation on a money surface by asking for a shorter one. The horizon the node used is returned instead.
Trait Implementations§
Source§impl Clone for CollateralBufferParams
impl Clone for CollateralBufferParams
Source§fn clone(&self) -> CollateralBufferParams
fn clone(&self) -> CollateralBufferParams
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 ControlCall for CollateralBufferParams
impl ControlCall for CollateralBufferParams
Source§const METHOD: ControlMethod = ControlMethod::CollateralBuffer
const METHOD: ControlMethod = ControlMethod::CollateralBuffer
The wire method this call invokes.
Source§type Output = CollateralBufferResult
type Output = CollateralBufferResult
The typed result this call returns on success.
impl Copy for CollateralBufferParams
Source§impl Debug for CollateralBufferParams
impl Debug for CollateralBufferParams
Source§impl Default for CollateralBufferParams
impl Default for CollateralBufferParams
Source§fn default() -> CollateralBufferParams
fn default() -> CollateralBufferParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CollateralBufferParams
impl<'de> Deserialize<'de> for CollateralBufferParams
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 CollateralBufferParams
Source§impl PartialEq for CollateralBufferParams
impl PartialEq for CollateralBufferParams
Source§impl Serialize for CollateralBufferParams
impl Serialize for CollateralBufferParams
impl StructuralPartialEq for CollateralBufferParams
Auto Trait Implementations§
impl Freeze for CollateralBufferParams
impl RefUnwindSafe for CollateralBufferParams
impl Send for CollateralBufferParams
impl Sync for CollateralBufferParams
impl Unpin for CollateralBufferParams
impl UnsafeUnpin for CollateralBufferParams
impl UnwindSafe for CollateralBufferParams
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