pub struct SdkProtectionPlanRequest {
pub operation: ProtectionOperation,
pub workload: WorkloadDescriptor,
pub resource: ResourceDescriptor,
pub preferred_artifact_profile: Option<ArtifactProfile>,
pub content_digest: Option<String>,
pub content_size_bytes: Option<u64>,
pub purpose: Option<String>,
pub labels: Vec<String>,
pub attributes: BTreeMap<String, String>,
}Fields§
§operation: ProtectionOperation§workload: WorkloadDescriptor§resource: ResourceDescriptor§preferred_artifact_profile: Option<ArtifactProfile>§content_digest: Option<String>§content_size_bytes: Option<u64>§purpose: Option<String>§labels: Vec<String>§attributes: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for SdkProtectionPlanRequest
impl Clone for SdkProtectionPlanRequest
Source§fn clone(&self) -> SdkProtectionPlanRequest
fn clone(&self) -> SdkProtectionPlanRequest
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 SdkProtectionPlanRequest
impl Debug for SdkProtectionPlanRequest
Source§impl<'de> Deserialize<'de> for SdkProtectionPlanRequest
impl<'de> Deserialize<'de> for SdkProtectionPlanRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SdkProtectionPlanRequest
impl PartialEq for SdkProtectionPlanRequest
Source§impl Serialize for SdkProtectionPlanRequest
impl Serialize for SdkProtectionPlanRequest
impl Eq for SdkProtectionPlanRequest
impl StructuralPartialEq for SdkProtectionPlanRequest
Auto Trait Implementations§
impl Freeze for SdkProtectionPlanRequest
impl RefUnwindSafe for SdkProtectionPlanRequest
impl Send for SdkProtectionPlanRequest
impl Sync for SdkProtectionPlanRequest
impl Unpin for SdkProtectionPlanRequest
impl UnsafeUnpin for SdkProtectionPlanRequest
impl UnwindSafe for SdkProtectionPlanRequest
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