pub struct CloudCheckpointState {
pub cloud: CloudStateConfig,
pub pending_push_commit: Option<String>,
pub git_auth_configured: bool,
pub pr_created: bool,
pub pr_url: Option<String>,
pub pr_number: Option<u32>,
pub push_count: u32,
pub push_retry_count: u32,
pub last_push_error: Option<String>,
pub unpushed_commits: Vec<String>,
pub last_pushed_commit: Option<String>,
}Expand description
Cloud-mode checkpoint state.
This is intentionally credential-free and safe to persist in checkpoints.
Fields§
§cloud: CloudStateConfig§pending_push_commit: Option<String>§git_auth_configured: bool§pr_created: bool§pr_url: Option<String>§pr_number: Option<u32>§push_count: u32§push_retry_count: u32§last_push_error: Option<String>§unpushed_commits: Vec<String>§last_pushed_commit: Option<String>Implementations§
Source§impl CloudCheckpointState
impl CloudCheckpointState
pub fn from_pipeline_state(state: &PipelineState) -> Self
Trait Implementations§
Source§impl Clone for CloudCheckpointState
impl Clone for CloudCheckpointState
Source§fn clone(&self) -> CloudCheckpointState
fn clone(&self) -> CloudCheckpointState
Returns a duplicate of the value. Read more
1.0.0 · 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 CloudCheckpointState
impl Debug for CloudCheckpointState
Source§impl Default for CloudCheckpointState
impl Default for CloudCheckpointState
Source§fn default() -> CloudCheckpointState
fn default() -> CloudCheckpointState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CloudCheckpointState
impl<'de> Deserialize<'de> for CloudCheckpointState
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
Auto Trait Implementations§
impl Freeze for CloudCheckpointState
impl RefUnwindSafe for CloudCheckpointState
impl Send for CloudCheckpointState
impl Sync for CloudCheckpointState
impl Unpin for CloudCheckpointState
impl UnsafeUnpin for CloudCheckpointState
impl UnwindSafe for CloudCheckpointState
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more