#[non_exhaustive]pub struct OnDeployUpdatePolicy {
pub runtime_version: String,
/* private fields */
}
Expand description
Security patches are only applied when a function is redeployed.
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.runtime_version: String
Output only. contains the runtime version which was used during latest function deployment.
Implementations§
Source§impl OnDeployUpdatePolicy
impl OnDeployUpdatePolicy
pub fn new() -> Self
Sourcepub fn set_runtime_version<T: Into<String>>(self, v: T) -> Self
pub fn set_runtime_version<T: Into<String>>(self, v: T) -> Self
Sets the value of runtime_version.
Trait Implementations§
Source§impl Clone for OnDeployUpdatePolicy
impl Clone for OnDeployUpdatePolicy
Source§fn clone(&self) -> OnDeployUpdatePolicy
fn clone(&self) -> OnDeployUpdatePolicy
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 OnDeployUpdatePolicy
impl Debug for OnDeployUpdatePolicy
Source§impl Default for OnDeployUpdatePolicy
impl Default for OnDeployUpdatePolicy
Source§fn default() -> OnDeployUpdatePolicy
fn default() -> OnDeployUpdatePolicy
Returns the “default value” for a type. Read more
Source§impl Message for OnDeployUpdatePolicy
impl Message for OnDeployUpdatePolicy
Source§impl PartialEq for OnDeployUpdatePolicy
impl PartialEq for OnDeployUpdatePolicy
impl StructuralPartialEq for OnDeployUpdatePolicy
Auto Trait Implementations§
impl Freeze for OnDeployUpdatePolicy
impl RefUnwindSafe for OnDeployUpdatePolicy
impl Send for OnDeployUpdatePolicy
impl Sync for OnDeployUpdatePolicy
impl Unpin for OnDeployUpdatePolicy
impl UnwindSafe for OnDeployUpdatePolicy
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