pub struct PreparedLocalProtection {
pub caller: RequestContext,
pub content_binding: LocalContentBinding,
pub artifact_binding: LocalArtifactBinding,
pub bootstrap: SdkBootstrapResponse,
pub policy_resolution: SdkPolicyResolveResponse,
pub protection_plan: SdkProtectionPlanResponse,
}Fields§
§caller: RequestContext§content_binding: LocalContentBinding§artifact_binding: LocalArtifactBinding§bootstrap: SdkBootstrapResponse§policy_resolution: SdkPolicyResolveResponse§protection_plan: SdkProtectionPlanResponseImplementations§
Source§impl PreparedLocalProtection
impl PreparedLocalProtection
pub fn resolved_artifact_profile(&self) -> ArtifactProfile
Trait Implementations§
Source§impl Clone for PreparedLocalProtection
impl Clone for PreparedLocalProtection
Source§fn clone(&self) -> PreparedLocalProtection
fn clone(&self) -> PreparedLocalProtection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PreparedLocalProtection
impl Debug for PreparedLocalProtection
Source§impl<'de> Deserialize<'de> for PreparedLocalProtection
impl<'de> Deserialize<'de> for PreparedLocalProtection
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 PreparedLocalProtection
impl PartialEq for PreparedLocalProtection
Source§fn eq(&self, other: &PreparedLocalProtection) -> bool
fn eq(&self, other: &PreparedLocalProtection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PreparedLocalProtection
impl Serialize for PreparedLocalProtection
impl Eq for PreparedLocalProtection
impl StructuralPartialEq for PreparedLocalProtection
Auto Trait Implementations§
impl Freeze for PreparedLocalProtection
impl RefUnwindSafe for PreparedLocalProtection
impl Send for PreparedLocalProtection
impl Sync for PreparedLocalProtection
impl Unpin for PreparedLocalProtection
impl UnsafeUnpin for PreparedLocalProtection
impl UnwindSafe for PreparedLocalProtection
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