#[non_exhaustive]pub struct MemoryHashSignature {
pub binary_family: String,
pub detections: Vec<Detection>,
/* private fields */
}Expand description
A signature corresponding to memory page hashes.
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.binary_family: StringThe binary family.
detections: Vec<Detection>The list of memory hash detections contributing to the binary family match.
Implementations§
Source§impl MemoryHashSignature
impl MemoryHashSignature
pub fn new() -> Self
Sourcepub fn set_binary_family<T: Into<String>>(self, v: T) -> Self
pub fn set_binary_family<T: Into<String>>(self, v: T) -> Self
Sets the value of binary_family.
§Example
ⓘ
let x = MemoryHashSignature::new().set_binary_family("example");Sourcepub fn set_detections<T, V>(self, v: T) -> Self
pub fn set_detections<T, V>(self, v: T) -> Self
Sets the value of detections.
§Example
ⓘ
use google_cloud_securitycenter_v2::model::indicator::process_signature::memory_hash_signature::Detection;
let x = MemoryHashSignature::new()
.set_detections([
Detection::default()/* use setters */,
Detection::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for MemoryHashSignature
impl Clone for MemoryHashSignature
Source§fn clone(&self) -> MemoryHashSignature
fn clone(&self) -> MemoryHashSignature
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 MemoryHashSignature
impl Debug for MemoryHashSignature
Source§impl Default for MemoryHashSignature
impl Default for MemoryHashSignature
Source§fn default() -> MemoryHashSignature
fn default() -> MemoryHashSignature
Returns the “default value” for a type. Read more
Source§impl Message for MemoryHashSignature
impl Message for MemoryHashSignature
Source§impl PartialEq for MemoryHashSignature
impl PartialEq for MemoryHashSignature
impl StructuralPartialEq for MemoryHashSignature
Auto Trait Implementations§
impl Freeze for MemoryHashSignature
impl RefUnwindSafe for MemoryHashSignature
impl Send for MemoryHashSignature
impl Sync for MemoryHashSignature
impl Unpin for MemoryHashSignature
impl UnwindSafe for MemoryHashSignature
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