pub struct CancelRequestArguments {
pub request_id: Option<i32>,
pub progress_id: Option<String>,
/* private fields */
}
Fields§
§request_id: Option<i32>
The ID (attribute ‘seq’) of the request to cancel. If missing no request is cancelled.
Both a ‘requestId’ and a ‘progressId’ can be specified in one request.
progress_id: Option<String>
The ID (attribute ‘progressId’) of the progress to cancel. If missing no progress is cancelled.
Both a ‘requestId’ and a ‘progressId’ can be specified in one request.
Implementations§
Source§impl CancelRequestArguments
impl CancelRequestArguments
Sourcepub fn builder() -> CancelRequestArgumentsBuilder<((), ())>
pub fn builder() -> CancelRequestArgumentsBuilder<((), ())>
Create a builder for building CancelRequestArguments
.
On the builder, call .request_id(...)
(optional), .progress_id(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of CancelRequestArguments
.
Trait Implementations§
Source§impl Clone for CancelRequestArguments
impl Clone for CancelRequestArguments
Source§fn clone(&self) -> CancelRequestArguments
fn clone(&self) -> CancelRequestArguments
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CancelRequestArguments
impl Debug for CancelRequestArguments
Source§impl<'de> Deserialize<'de> for CancelRequestArguments
impl<'de> Deserialize<'de> for CancelRequestArguments
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<CancelRequestArguments> for ProtocolMessageContent
impl From<CancelRequestArguments> for ProtocolMessageContent
Source§fn from(args: CancelRequestArguments) -> Self
fn from(args: CancelRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<CancelRequestArguments> for Request
impl From<CancelRequestArguments> for Request
Source§fn from(args: CancelRequestArguments) -> Self
fn from(args: CancelRequestArguments) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CancelRequestArguments
impl PartialEq for CancelRequestArguments
Source§fn eq(&self, other: &CancelRequestArguments) -> bool
fn eq(&self, other: &CancelRequestArguments) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for CancelRequestArguments
impl Serialize for CancelRequestArguments
impl Eq for CancelRequestArguments
impl StructuralPartialEq for CancelRequestArguments
Auto Trait Implementations§
impl Freeze for CancelRequestArguments
impl RefUnwindSafe for CancelRequestArguments
impl Send for CancelRequestArguments
impl Sync for CancelRequestArguments
impl Unpin for CancelRequestArguments
impl UnwindSafe for CancelRequestArguments
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.