#[non_exhaustive]pub struct SetMuteRequest {
pub name: String,
pub mute: Mute,
/* private fields */
}Expand description
Request message for updating a finding’s mute status.
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.name: StringRequired. The relative resource name of the finding. If no location is specified, finding is assumed to be in global. The following list shows some examples:
organizations/{organization_id}/sources/{source_id}/findings/{finding_id}
+
organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}
folders/{folder_id}/sources/{source_id}/findings/{finding_id}
folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}
projects/{project_id}/sources/{source_id}/findings/{finding_id}
projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}
mute: MuteRequired. The desired state of the Mute.
Implementations§
Trait Implementations§
Source§impl Clone for SetMuteRequest
impl Clone for SetMuteRequest
Source§fn clone(&self) -> SetMuteRequest
fn clone(&self) -> SetMuteRequest
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 SetMuteRequest
impl Debug for SetMuteRequest
Source§impl Default for SetMuteRequest
impl Default for SetMuteRequest
Source§fn default() -> SetMuteRequest
fn default() -> SetMuteRequest
Returns the “default value” for a type. Read more
Source§impl Message for SetMuteRequest
impl Message for SetMuteRequest
Source§impl PartialEq for SetMuteRequest
impl PartialEq for SetMuteRequest
impl StructuralPartialEq for SetMuteRequest
Auto Trait Implementations§
impl Freeze for SetMuteRequest
impl RefUnwindSafe for SetMuteRequest
impl Send for SetMuteRequest
impl Sync for SetMuteRequest
impl Unpin for SetMuteRequest
impl UnwindSafe for SetMuteRequest
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