#[non_exhaustive]pub struct UpdateProblemInput {
pub problem_id: Option<String>,
pub update_status: Option<UpdateStatus>,
pub visibility: Option<Visibility>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.problem_id: Option<String>
The ID of the problem.
update_status: Option<UpdateStatus>
The status of the problem. Arguments can be passed for only problems that show a status of RECOVERING
.
visibility: Option<Visibility>
The visibility of a problem. When you pass a value of IGNORED
, the problem is removed from the default view, and all notifications for the problem are suspended. When VISIBLE
is passed, the IGNORED
action is reversed.
Implementations§
source§impl UpdateProblemInput
impl UpdateProblemInput
sourcepub fn problem_id(&self) -> Option<&str>
pub fn problem_id(&self) -> Option<&str>
The ID of the problem.
sourcepub fn update_status(&self) -> Option<&UpdateStatus>
pub fn update_status(&self) -> Option<&UpdateStatus>
The status of the problem. Arguments can be passed for only problems that show a status of RECOVERING
.
sourcepub fn visibility(&self) -> Option<&Visibility>
pub fn visibility(&self) -> Option<&Visibility>
The visibility of a problem. When you pass a value of IGNORED
, the problem is removed from the default view, and all notifications for the problem are suspended. When VISIBLE
is passed, the IGNORED
action is reversed.
source§impl UpdateProblemInput
impl UpdateProblemInput
sourcepub fn builder() -> UpdateProblemInputBuilder
pub fn builder() -> UpdateProblemInputBuilder
Creates a new builder-style object to manufacture UpdateProblemInput
.
Trait Implementations§
source§impl Clone for UpdateProblemInput
impl Clone for UpdateProblemInput
source§fn clone(&self) -> UpdateProblemInput
fn clone(&self) -> UpdateProblemInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateProblemInput
impl Debug for UpdateProblemInput
source§impl PartialEq for UpdateProblemInput
impl PartialEq for UpdateProblemInput
source§fn eq(&self, other: &UpdateProblemInput) -> bool
fn eq(&self, other: &UpdateProblemInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateProblemInput
Auto Trait Implementations§
impl Freeze for UpdateProblemInput
impl RefUnwindSafe for UpdateProblemInput
impl Send for UpdateProblemInput
impl Sync for UpdateProblemInput
impl Unpin for UpdateProblemInput
impl UnwindSafe for UpdateProblemInput
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
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>
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>
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