#[non_exhaustive]pub struct CheckInstanceUpgradabilityRequest {
pub notebook_instance: String,
/* private fields */
}Expand description
Request for checking if a notebook instance is upgradeable.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.notebook_instance: StringRequired. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
Implementations§
Source§impl CheckInstanceUpgradabilityRequest
impl CheckInstanceUpgradabilityRequest
pub fn new() -> Self
Sourcepub fn set_notebook_instance<T: Into<String>>(self, v: T) -> Self
pub fn set_notebook_instance<T: Into<String>>(self, v: T) -> Self
Sets the value of notebook_instance.
Trait Implementations§
Source§impl Clone for CheckInstanceUpgradabilityRequest
impl Clone for CheckInstanceUpgradabilityRequest
Source§fn clone(&self) -> CheckInstanceUpgradabilityRequest
fn clone(&self) -> CheckInstanceUpgradabilityRequest
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 Default for CheckInstanceUpgradabilityRequest
impl Default for CheckInstanceUpgradabilityRequest
Source§fn default() -> CheckInstanceUpgradabilityRequest
fn default() -> CheckInstanceUpgradabilityRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CheckInstanceUpgradabilityRequest
impl PartialEq for CheckInstanceUpgradabilityRequest
Source§fn eq(&self, other: &CheckInstanceUpgradabilityRequest) -> bool
fn eq(&self, other: &CheckInstanceUpgradabilityRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CheckInstanceUpgradabilityRequest
Auto Trait Implementations§
impl Freeze for CheckInstanceUpgradabilityRequest
impl RefUnwindSafe for CheckInstanceUpgradabilityRequest
impl Send for CheckInstanceUpgradabilityRequest
impl Sync for CheckInstanceUpgradabilityRequest
impl Unpin for CheckInstanceUpgradabilityRequest
impl UnwindSafe for CheckInstanceUpgradabilityRequest
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