pub struct TerminateRequestArguments {
pub restart: bool,
/* private fields */
}
Fields§
§restart: bool
A value of true indicates that this ‘terminate’ request is part of a restart sequence.
Implementations§
Trait Implementations§
Source§impl Clone for TerminateRequestArguments
impl Clone for TerminateRequestArguments
Source§fn clone(&self) -> TerminateRequestArguments
fn clone(&self) -> TerminateRequestArguments
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 TerminateRequestArguments
impl Debug for TerminateRequestArguments
Source§impl<'de> Deserialize<'de> for TerminateRequestArguments
impl<'de> Deserialize<'de> for TerminateRequestArguments
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 From<TerminateRequestArguments> for ProtocolMessageContent
impl From<TerminateRequestArguments> for ProtocolMessageContent
Source§fn from(args: TerminateRequestArguments) -> Self
fn from(args: TerminateRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<TerminateRequestArguments> for Request
impl From<TerminateRequestArguments> for Request
Source§fn from(args: TerminateRequestArguments) -> Self
fn from(args: TerminateRequestArguments) -> Self
Converts to this type from the input type.
impl Eq for TerminateRequestArguments
impl StructuralPartialEq for TerminateRequestArguments
Auto Trait Implementations§
impl Freeze for TerminateRequestArguments
impl RefUnwindSafe for TerminateRequestArguments
impl Send for TerminateRequestArguments
impl Sync for TerminateRequestArguments
impl Unpin for TerminateRequestArguments
impl UnwindSafe for TerminateRequestArguments
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.