pub struct ComposeRecreateRequest { /* private fields */ }Expand description
Deadline-bound Compose replacement request.
Implementations§
Source§impl ComposeRecreateRequest
impl ComposeRecreateRequest
Sourcepub fn new(
operation_id: OperationId,
operation: OperationName,
project: ComposeProjectRef,
expected: ComposeRecreateFingerprint,
deadline: Timestamp,
) -> Self
pub fn new( operation_id: OperationId, operation: OperationName, project: ComposeProjectRef, expected: ComposeRecreateFingerprint, deadline: Timestamp, ) -> Self
Creates a replacement request.
Sourcepub fn operation_id(&self) -> &OperationId
pub fn operation_id(&self) -> &OperationId
Returns the operation identity.
Sourcepub const fn project(&self) -> &ComposeProjectRef
pub const fn project(&self) -> &ComposeProjectRef
Returns the project reference.
Sourcepub const fn expected(&self) -> &ComposeRecreateFingerprint
pub const fn expected(&self) -> &ComposeRecreateFingerprint
Returns the expected pre-state fingerprint.
Trait Implementations§
Source§impl Clone for ComposeRecreateRequest
impl Clone for ComposeRecreateRequest
Source§fn clone(&self) -> ComposeRecreateRequest
fn clone(&self) -> ComposeRecreateRequest
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 ComposeRecreateRequest
impl Debug for ComposeRecreateRequest
Source§impl<'de> Deserialize<'de> for ComposeRecreateRequest
impl<'de> Deserialize<'de> for ComposeRecreateRequest
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 ComposeRecreateRequest
impl PartialEq for ComposeRecreateRequest
Source§fn eq(&self, other: &ComposeRecreateRequest) -> bool
fn eq(&self, other: &ComposeRecreateRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ComposeRecreateRequest
impl Serialize for ComposeRecreateRequest
impl Eq for ComposeRecreateRequest
impl StructuralPartialEq for ComposeRecreateRequest
Auto Trait Implementations§
impl Freeze for ComposeRecreateRequest
impl RefUnwindSafe for ComposeRecreateRequest
impl Send for ComposeRecreateRequest
impl Sync for ComposeRecreateRequest
impl Unpin for ComposeRecreateRequest
impl UnsafeUnpin for ComposeRecreateRequest
impl UnwindSafe for ComposeRecreateRequest
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.