pub struct ComposePullRequest { /* private fields */ }Expand description
Deadline-bound Compose image pull request.
Implementations§
Source§impl ComposePullRequest
impl ComposePullRequest
Sourcepub fn new(
operation_id: OperationId,
operation: OperationName,
project: ComposeProjectRef,
service: Option<String>,
deadline: Timestamp,
) -> Result<Self, InfraError>
pub fn new( operation_id: OperationId, operation: OperationName, project: ComposeProjectRef, service: Option<String>, deadline: Timestamp, ) -> Result<Self, InfraError>
Creates a validated Compose pull 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 Compose project.
Trait Implementations§
Source§impl Clone for ComposePullRequest
impl Clone for ComposePullRequest
Source§fn clone(&self) -> ComposePullRequest
fn clone(&self) -> ComposePullRequest
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 ComposePullRequest
impl Debug for ComposePullRequest
Source§impl<'de> Deserialize<'de> for ComposePullRequest
impl<'de> Deserialize<'de> for ComposePullRequest
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 ComposePullRequest
impl PartialEq for ComposePullRequest
Source§fn eq(&self, other: &ComposePullRequest) -> bool
fn eq(&self, other: &ComposePullRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ComposePullRequest
impl Serialize for ComposePullRequest
impl Eq for ComposePullRequest
impl StructuralPartialEq for ComposePullRequest
Auto Trait Implementations§
impl Freeze for ComposePullRequest
impl RefUnwindSafe for ComposePullRequest
impl Send for ComposePullRequest
impl Sync for ComposePullRequest
impl Unpin for ComposePullRequest
impl UnsafeUnpin for ComposePullRequest
impl UnwindSafe for ComposePullRequest
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.