pub struct Reply<Params> { /* private fields */ }Expand description
A successful method call reply.
Implementations§
Source§impl<Params> Reply<Params>
impl<Params> Reply<Params>
Sourcepub fn set_continues(self, continues: Option<bool>) -> Reply<Params>
pub fn set_continues(self, continues: Option<bool>) -> Reply<Params>
Set the continues flag.
Sourcepub fn parameters(&self) -> Option<&Params>
pub fn parameters(&self) -> Option<&Params>
The parameters of the reply.
Sourcepub fn into_parameters(self) -> Option<Params>
pub fn into_parameters(self) -> Option<Params>
Convert the reply into its parameters.
Trait Implementations§
Source§impl<'de, Params> Deserialize<'de> for Reply<Params>where
Params: Deserialize<'de>,
impl<'de, Params> Deserialize<'de> for Reply<Params>where
Params: Deserialize<'de>,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Reply<Params>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Reply<Params>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<Params> Serialize for Reply<Params>where
Params: Serialize,
impl<Params> Serialize for Reply<Params>where
Params: Serialize,
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl<Params> Freeze for Reply<Params>where
Params: Freeze,
impl<Params> RefUnwindSafe for Reply<Params>where
Params: RefUnwindSafe,
impl<Params> Send for Reply<Params>where
Params: Send,
impl<Params> Sync for Reply<Params>where
Params: Sync,
impl<Params> Unpin for Reply<Params>where
Params: Unpin,
impl<Params> UnsafeUnpin for Reply<Params>where
Params: UnsafeUnpin,
impl<Params> UnwindSafe for Reply<Params>where
Params: 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