pub struct Payload<T = String>where
T: ToString,{ /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for Payload<T>where
T: ToString + Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Payload<T>where
T: ToString + Deserialize<'de>,
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<T> Extend<(H256, T)> for Payload<T>where
T: ToString,
impl<T> Extend<(H256, T)> for Payload<T>where
T: ToString,
Source§fn extend<I: IntoIterator<Item = (H256, T)>>(&mut self, iter: I)
fn extend<I: IntoIterator<Item = (H256, T)>>(&mut self, iter: I)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl<T> Extend<T> for Payload<T>where
T: ToString,
impl<T> Extend<T> for Payload<T>where
T: ToString,
Source§fn extend<I: IntoIterator<Item = T>>(&mut self, iter: I)
fn extend<I: IntoIterator<Item = T>>(&mut self, iter: I)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
impl<T> Eq for Payload<T>
impl<T> StructuralPartialEq for Payload<T>where
T: ToString,
Auto Trait Implementations§
impl<T> Freeze for Payload<T>
impl<T> RefUnwindSafe for Payload<T>where
T: RefUnwindSafe,
impl<T> Send for Payload<T>where
T: Send,
impl<T> Sync for Payload<T>where
T: Sync,
impl<T> Unpin for Payload<T>where
T: Unpin,
impl<T> UnwindSafe for Payload<T>where
T: UnwindSafe,
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