pub struct SubscriptionParams(/* private fields */);
Implementations§
Source§impl SubscriptionParams
impl SubscriptionParams
pub fn new(value: SubscriptionParamsRepr) -> Result<Self, &'static str>
Trait Implementations§
Source§impl Clone for SubscriptionParams
impl Clone for SubscriptionParams
Source§fn clone(&self) -> SubscriptionParams
fn clone(&self) -> SubscriptionParams
Returns a copy of the value. Read more
1.0.0 · 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 SubscriptionParams
impl Debug for SubscriptionParams
Source§impl Deref for SubscriptionParams
impl Deref for SubscriptionParams
Source§impl DerefMut for SubscriptionParams
impl DerefMut for SubscriptionParams
Source§impl<'de> Deserialize<'de> for SubscriptionParams
impl<'de> Deserialize<'de> for SubscriptionParams
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
Source§impl Hash for SubscriptionParams
impl Hash for SubscriptionParams
Source§impl PartialEq for SubscriptionParams
impl PartialEq for SubscriptionParams
Source§impl Serialize for SubscriptionParams
impl Serialize for SubscriptionParams
impl Eq for SubscriptionParams
impl StructuralPartialEq for SubscriptionParams
Auto Trait Implementations§
impl Freeze for SubscriptionParams
impl RefUnwindSafe for SubscriptionParams
impl Send for SubscriptionParams
impl Sync for SubscriptionParams
impl Unpin for SubscriptionParams
impl UnwindSafe for SubscriptionParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more