Struct jet_fixed_term::orderbook::instructions::event_adapter::register_adapter::RegisterAdapterParams
source · [−]pub struct RegisterAdapterParams {
pub num_events: u32,
}
Fields
num_events: u32
Total capacity of the adapter Increases rent cost
Trait Implementations
sourceimpl BorshDeserialize for RegisterAdapterParamswhere
u32: BorshDeserialize,
impl BorshDeserialize for RegisterAdapterParamswhere
u32: BorshDeserialize,
sourcefn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes. Read more
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
Auto Trait Implementations
impl RefUnwindSafe for RegisterAdapterParams
impl Send for RegisterAdapterParams
impl Sync for RegisterAdapterParams
impl Unpin for RegisterAdapterParams
impl UnwindSafe for RegisterAdapterParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more