Enum google_api_proto::google::cloud::osconfig::v1beta::windows_update_settings::Classification
source · #[repr(i32)]pub enum Classification {
Unspecified = 0,
Critical = 1,
Security = 2,
Definition = 3,
Driver = 4,
FeaturePack = 5,
ServicePack = 6,
Tool = 7,
UpdateRollup = 8,
Update = 9,
}
Expand description
Microsoft Windows update classifications as defined in [1] https://support.microsoft.com/en-us/help/824684/description-of-the-standard-terminology-that-is-used-to-describe-micro
Variants§
Unspecified = 0
Invalid. If classifications are included, they must be specified.
Critical = 1
“A widely released fix for a specific problem that addresses a critical, non-security-related bug.” [1]
Security = 2
“A widely released fix for a product-specific, security-related vulnerability. Security vulnerabilities are rated by their severity. The severity rating is indicated in the Microsoft security bulletin as critical, important, moderate, or low.” [1]
Definition = 3
“A widely released and frequent software update that contains additions to a product’s definition database. Definition databases are often used to detect objects that have specific attributes, such as malicious code, phishing websites, or junk mail.” [1]
Driver = 4
“Software that controls the input and output of a device.” [1]
FeaturePack = 5
“New product functionality that is first distributed outside the context of a product release and that is typically included in the next full product release.” [1]
ServicePack = 6
“A tested, cumulative set of all hotfixes, security updates, critical updates, and updates. Additionally, service packs may contain additional fixes for problems that are found internally since the release of the product. Service packs my also contain a limited number of customer-requested design changes or features.” [1]
Tool = 7
“A utility or feature that helps complete a task or set of tasks.” [1]
UpdateRollup = 8
“A tested, cumulative set of hotfixes, security updates, critical updates, and updates that are packaged together for easy deployment. A rollup generally targets a specific area, such as security, or a component of a product, such as Internet Information Services (IIS).” [1]
Update = 9
“A widely released fix for a specific problem. An update addresses a noncritical, non-security-related bug.” [1]
Implementations§
source§impl Classification
impl Classification
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for Classification
impl Clone for Classification
source§fn clone(&self) -> Classification
fn clone(&self) -> Classification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Classification
impl Debug for Classification
source§impl Default for Classification
impl Default for Classification
source§fn default() -> Classification
fn default() -> Classification
source§impl From<Classification> for i32
impl From<Classification> for i32
source§fn from(value: Classification) -> i32
fn from(value: Classification) -> i32
source§impl Hash for Classification
impl Hash for Classification
source§impl Ord for Classification
impl Ord for Classification
source§fn cmp(&self, other: &Classification) -> Ordering
fn cmp(&self, other: &Classification) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for Classification
impl PartialEq for Classification
source§fn eq(&self, other: &Classification) -> bool
fn eq(&self, other: &Classification) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Classification
impl PartialOrd for Classification
source§fn partial_cmp(&self, other: &Classification) -> Option<Ordering>
fn partial_cmp(&self, other: &Classification) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for Classification
impl TryFrom<i32> for Classification
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<Classification, UnknownEnumValue>
fn try_from(value: i32) -> Result<Classification, UnknownEnumValue>
impl Copy for Classification
impl Eq for Classification
impl StructuralPartialEq for Classification
Auto Trait Implementations§
impl Freeze for Classification
impl RefUnwindSafe for Classification
impl Send for Classification
impl Sync for Classification
impl Unpin for Classification
impl UnwindSafe for Classification
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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
§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
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request