#[non_exhaustive]pub struct SetFindingStateRequest {
pub name: String,
pub state: State,
/* private fields */
}Expand description
Request message for updating a finding’s state.
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}
state: StateRequired. The desired State of the finding.
Implementations§
Trait Implementations§
Source§impl Clone for SetFindingStateRequest
impl Clone for SetFindingStateRequest
Source§fn clone(&self) -> SetFindingStateRequest
fn clone(&self) -> SetFindingStateRequest
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 SetFindingStateRequest
impl Debug for SetFindingStateRequest
Source§impl Default for SetFindingStateRequest
impl Default for SetFindingStateRequest
Source§fn default() -> SetFindingStateRequest
fn default() -> SetFindingStateRequest
Returns the “default value” for a type. Read more
Source§impl Message for SetFindingStateRequest
impl Message for SetFindingStateRequest
Source§impl PartialEq for SetFindingStateRequest
impl PartialEq for SetFindingStateRequest
impl StructuralPartialEq for SetFindingStateRequest
Auto Trait Implementations§
impl Freeze for SetFindingStateRequest
impl RefUnwindSafe for SetFindingStateRequest
impl Send for SetFindingStateRequest
impl Sync for SetFindingStateRequest
impl Unpin for SetFindingStateRequest
impl UnwindSafe for SetFindingStateRequest
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