pub struct SdkPolicyResolveRequest {
pub operation: ProtectionOperation,
pub workload: WorkloadDescriptor,
pub resource: ResourceDescriptor,
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§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 SdkPolicyResolveRequest
impl Clone for SdkPolicyResolveRequest
Source§fn clone(&self) -> SdkPolicyResolveRequest
fn clone(&self) -> SdkPolicyResolveRequest
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 SdkPolicyResolveRequest
impl Debug for SdkPolicyResolveRequest
Source§impl<'de> Deserialize<'de> for SdkPolicyResolveRequest
impl<'de> Deserialize<'de> for SdkPolicyResolveRequest
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 SdkPolicyResolveRequest
impl PartialEq for SdkPolicyResolveRequest
Source§impl Serialize for SdkPolicyResolveRequest
impl Serialize for SdkPolicyResolveRequest
impl Eq for SdkPolicyResolveRequest
impl StructuralPartialEq for SdkPolicyResolveRequest
Auto Trait Implementations§
impl Freeze for SdkPolicyResolveRequest
impl RefUnwindSafe for SdkPolicyResolveRequest
impl Send for SdkPolicyResolveRequest
impl Sync for SdkPolicyResolveRequest
impl Unpin for SdkPolicyResolveRequest
impl UnsafeUnpin for SdkPolicyResolveRequest
impl UnwindSafe for SdkPolicyResolveRequest
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