pub struct ReferencePriceParamsBuilder { /* private fields */ }Expand description
Builder for ReferencePriceParams.
Implementations§
Source§impl ReferencePriceParamsBuilder
impl ReferencePriceParamsBuilder
Sourcepub fn symbol<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn symbol<VALUE: Into<String>>(self, value: VALUE) -> Self
Symbol to query
This field is **required.
Sourcepub fn id<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn id<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
Unique WebSocket request ID.
This field is **optional.
Sourcepub fn build(self) -> Result<ReferencePriceParams, ParamBuildError>
pub fn build(self) -> Result<ReferencePriceParams, ParamBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReferencePriceParamsBuilder
impl RefUnwindSafe for ReferencePriceParamsBuilder
impl Send for ReferencePriceParamsBuilder
impl Sync for ReferencePriceParamsBuilder
impl Unpin for ReferencePriceParamsBuilder
impl UnsafeUnpin for ReferencePriceParamsBuilder
impl UnwindSafe for ReferencePriceParamsBuilder
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