#[non_exhaustive]pub struct AutopilotCompatibilityIssue {
pub last_observation: Option<Timestamp>,
pub constraint_type: String,
pub incompatibility_type: IssueType,
pub subjects: Vec<String>,
pub documentation_url: String,
pub description: String,
}Expand description
AutopilotCompatibilityIssue contains information about a specific compatibility issue with Autopilot mode.
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.last_observation: Option<Timestamp>The last time when this issue was observed.
constraint_type: StringThe constraint type of the issue.
incompatibility_type: IssueTypeThe incompatibility type of this issue.
subjects: Vec<String>The name of the resources which are subject to this issue.
documentation_url: StringA URL to a public documnetation, which addresses resolving this issue.
description: StringThe description of the issue.
Implementations§
Source§impl AutopilotCompatibilityIssue
impl AutopilotCompatibilityIssue
Sourcepub fn set_last_observation<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_last_observation<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of last_observation.
Sourcepub fn set_constraint_type<T: Into<String>>(self, v: T) -> Self
pub fn set_constraint_type<T: Into<String>>(self, v: T) -> Self
Sets the value of constraint_type.
Sourcepub fn set_incompatibility_type<T: Into<IssueType>>(self, v: T) -> Self
pub fn set_incompatibility_type<T: Into<IssueType>>(self, v: T) -> Self
Sets the value of incompatibility_type.
Sourcepub fn set_documentation_url<T: Into<String>>(self, v: T) -> Self
pub fn set_documentation_url<T: Into<String>>(self, v: T) -> Self
Sets the value of documentation_url.
Sourcepub fn set_description<T: Into<String>>(self, v: T) -> Self
pub fn set_description<T: Into<String>>(self, v: T) -> Self
Sets the value of description.
Sourcepub fn set_subjects<T, V>(self, v: T) -> Self
pub fn set_subjects<T, V>(self, v: T) -> Self
Sets the value of subjects.
Trait Implementations§
Source§impl Clone for AutopilotCompatibilityIssue
impl Clone for AutopilotCompatibilityIssue
Source§fn clone(&self) -> AutopilotCompatibilityIssue
fn clone(&self) -> AutopilotCompatibilityIssue
Returns a copy 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 AutopilotCompatibilityIssue
impl Debug for AutopilotCompatibilityIssue
Source§impl Default for AutopilotCompatibilityIssue
impl Default for AutopilotCompatibilityIssue
Source§fn default() -> AutopilotCompatibilityIssue
fn default() -> AutopilotCompatibilityIssue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutopilotCompatibilityIssuewhere
AutopilotCompatibilityIssue: Default,
impl<'de> Deserialize<'de> for AutopilotCompatibilityIssuewhere
AutopilotCompatibilityIssue: Default,
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
impl StructuralPartialEq for AutopilotCompatibilityIssue
Auto Trait Implementations§
impl Freeze for AutopilotCompatibilityIssue
impl RefUnwindSafe for AutopilotCompatibilityIssue
impl Send for AutopilotCompatibilityIssue
impl Sync for AutopilotCompatibilityIssue
impl Unpin for AutopilotCompatibilityIssue
impl UnwindSafe for AutopilotCompatibilityIssue
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