pub struct PredictionActivityParams { /* private fields */ }Implementations§
Source§impl PredictionActivityParams
impl PredictionActivityParams
pub fn activity_type<T>(self, value: T) -> Self
pub fn condition_id<T>(self, value: T) -> Self
pub fn cursor<T>(self, value: T) -> Self
pub fn limit<T>(self, value: T) -> Self
pub fn market_id<T>(self, value: T) -> Self
pub fn order<T>(self, value: T) -> Self
pub fn token_id<T>(self, value: T) -> Self
pub fn wallet<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for PredictionActivityParams
impl Clone for PredictionActivityParams
Source§fn clone(&self) -> PredictionActivityParams
fn clone(&self) -> PredictionActivityParams
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 PredictionActivityParams
impl Debug for PredictionActivityParams
Source§impl Default for PredictionActivityParams
impl Default for PredictionActivityParams
Source§impl From<PredictionActivityParams> for PredictionActivityParams
impl From<PredictionActivityParams> for PredictionActivityParams
Source§fn from(value: PredictionActivityParams) -> Self
fn from(value: PredictionActivityParams) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PredictionActivityParams> for PredictionActivityParams
impl TryFrom<PredictionActivityParams> for PredictionActivityParams
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PredictionActivityParams) -> Result<Self, ConversionError>
fn try_from(value: PredictionActivityParams) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PredictionActivityParams
impl RefUnwindSafe for PredictionActivityParams
impl Send for PredictionActivityParams
impl Sync for PredictionActivityParams
impl Unpin for PredictionActivityParams
impl UnsafeUnpin for PredictionActivityParams
impl UnwindSafe for PredictionActivityParams
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