#[non_exhaustive]pub struct GetViolationRequest {
pub name: String,
/* private fields */
}Expand description
Request for fetching a Workload Violation.
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 resource name of the Violation to fetch (ie. Violation.name). Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
Implementations§
Trait Implementations§
Source§impl Clone for GetViolationRequest
impl Clone for GetViolationRequest
Source§fn clone(&self) -> GetViolationRequest
fn clone(&self) -> GetViolationRequest
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 GetViolationRequest
impl Debug for GetViolationRequest
Source§impl Default for GetViolationRequest
impl Default for GetViolationRequest
Source§fn default() -> GetViolationRequest
fn default() -> GetViolationRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetViolationRequest
impl Message for GetViolationRequest
Source§impl PartialEq for GetViolationRequest
impl PartialEq for GetViolationRequest
impl StructuralPartialEq for GetViolationRequest
Auto Trait Implementations§
impl Freeze for GetViolationRequest
impl RefUnwindSafe for GetViolationRequest
impl Send for GetViolationRequest
impl Sync for GetViolationRequest
impl Unpin for GetViolationRequest
impl UnsafeUnpin for GetViolationRequest
impl UnwindSafe for GetViolationRequest
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