pub struct ComposeMutationRequest { /* private fields */ }Expand description
Deadline-bound Compose mutation request.
Implementations§
Source§impl ComposeMutationRequest
impl ComposeMutationRequest
Sourcepub const fn new(
project: ComposeProjectRef,
action: ComposeMutationAction,
deadline: Timestamp,
) -> Self
pub const fn new( project: ComposeProjectRef, action: ComposeMutationAction, deadline: Timestamp, ) -> Self
Creates a Compose mutation request.
Sourcepub const fn project(&self) -> &ComposeProjectRef
pub const fn project(&self) -> &ComposeProjectRef
Returns the project reference.
Sourcepub const fn action(&self) -> ComposeMutationAction
pub const fn action(&self) -> ComposeMutationAction
Returns the mutation action.
Trait Implementations§
Source§impl Clone for ComposeMutationRequest
impl Clone for ComposeMutationRequest
Source§fn clone(&self) -> ComposeMutationRequest
fn clone(&self) -> ComposeMutationRequest
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 moreSource§impl Debug for ComposeMutationRequest
impl Debug for ComposeMutationRequest
Source§impl<'de> Deserialize<'de> for ComposeMutationRequest
impl<'de> Deserialize<'de> for ComposeMutationRequest
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 PartialEq for ComposeMutationRequest
impl PartialEq for ComposeMutationRequest
Source§fn eq(&self, other: &ComposeMutationRequest) -> bool
fn eq(&self, other: &ComposeMutationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ComposeMutationRequest
impl Serialize for ComposeMutationRequest
impl Eq for ComposeMutationRequest
impl StructuralPartialEq for ComposeMutationRequest
Auto Trait Implementations§
impl Freeze for ComposeMutationRequest
impl RefUnwindSafe for ComposeMutationRequest
impl Send for ComposeMutationRequest
impl Sync for ComposeMutationRequest
impl Unpin for ComposeMutationRequest
impl UnsafeUnpin for ComposeMutationRequest
impl UnwindSafe for ComposeMutationRequest
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.