pub struct ProcessCancelAllRequest<'scope> {
pub session_id: &'scope str,
pub scope: ProcessOpScope<'scope>,
pub source: ProcessCancelSource,
pub reason: Option<String>,
}Fields§
§session_id: &'scope str§scope: ProcessOpScope<'scope>§source: ProcessCancelSource§reason: Option<String>Implementations§
Source§impl<'scope> ProcessCancelAllRequest<'scope>
impl<'scope> ProcessCancelAllRequest<'scope>
pub fn new( session_id: &'scope str, scope: ProcessOpScope<'scope>, source: ProcessCancelSource, ) -> Self
pub fn with_reason(self, reason: impl Into<String>) -> Self
Trait Implementations§
Source§impl<'scope> Clone for ProcessCancelAllRequest<'scope>
impl<'scope> Clone for ProcessCancelAllRequest<'scope>
Source§fn clone(&self) -> ProcessCancelAllRequest<'scope>
fn clone(&self) -> ProcessCancelAllRequest<'scope>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'scope> !RefUnwindSafe for ProcessCancelAllRequest<'scope>
impl<'scope> !UnwindSafe for ProcessCancelAllRequest<'scope>
impl<'scope> Freeze for ProcessCancelAllRequest<'scope>
impl<'scope> Send for ProcessCancelAllRequest<'scope>
impl<'scope> Sync for ProcessCancelAllRequest<'scope>
impl<'scope> Unpin for ProcessCancelAllRequest<'scope>
impl<'scope> UnsafeUnpin for ProcessCancelAllRequest<'scope>
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