pub struct UpgradeHistoryEntry {
pub action: Option<String>,
pub container_image: Option<String>,
pub create_time: Option<DateTime<Utc>>,
pub framework: Option<String>,
pub snapshot: Option<String>,
pub state: Option<String>,
pub target_image: Option<String>,
pub target_version: Option<String>,
pub version: Option<String>,
pub vm_image: Option<String>,
}Expand description
The entry of VM image upgrade history.
This type is not used in any activity, and only used as part of another schema.
Fields§
§action: Option<String>Action. Rolloback or Upgrade.
container_image: Option<String>The container image before this instance upgrade.
create_time: Option<DateTime<Utc>>The time that this instance upgrade history entry is created.
framework: Option<String>The framework of this notebook instance.
snapshot: Option<String>The snapshot of the boot disk of this notebook instance before upgrade.
state: Option<String>The state of this instance upgrade history entry.
target_image: Option<String>Target VM Image. Format: ainotebooks-vm/project/image-name/name.
target_version: Option<String>Target VM Version, like m63.
version: Option<String>The version of the notebook instance before this upgrade.
vm_image: Option<String>The VM image before this instance upgrade.
Trait Implementations§
Source§impl Clone for UpgradeHistoryEntry
impl Clone for UpgradeHistoryEntry
Source§fn clone(&self) -> UpgradeHistoryEntry
fn clone(&self) -> UpgradeHistoryEntry
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 UpgradeHistoryEntry
impl Debug for UpgradeHistoryEntry
Source§impl Default for UpgradeHistoryEntry
impl Default for UpgradeHistoryEntry
Source§fn default() -> UpgradeHistoryEntry
fn default() -> UpgradeHistoryEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpgradeHistoryEntry
impl<'de> Deserialize<'de> for UpgradeHistoryEntry
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 Serialize for UpgradeHistoryEntry
impl Serialize for UpgradeHistoryEntry
impl Part for UpgradeHistoryEntry
Auto Trait Implementations§
impl Freeze for UpgradeHistoryEntry
impl RefUnwindSafe for UpgradeHistoryEntry
impl Send for UpgradeHistoryEntry
impl Sync for UpgradeHistoryEntry
impl Unpin for UpgradeHistoryEntry
impl UnwindSafe for UpgradeHistoryEntry
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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