pub struct SourcePolicyInput {Show 21 fields
pub source_id: String,
pub channel: String,
pub epoch: String,
pub previous_epoch: String,
pub previous_document_sha256: String,
pub root_epoch: String,
pub source_type: String,
pub source_class: String,
pub allowed_publishers: Vec<String>,
pub allowed_artifact_hosts: Vec<String>,
pub active_keys: SourcePolicyActiveKeys,
pub capability_publisher_scopes: Vec<SourcePolicyCapabilityPublisherScope>,
pub require_signature: bool,
pub install_policy: String,
pub unsigned_policy: String,
pub downgrade_policy: String,
pub minimum_revocation_epoch: String,
pub limits: SourcePolicyLimits,
pub generated_at: String,
pub expires_at: String,
pub key_id: String,
}Fields§
§source_id: String§channel: String§epoch: String§previous_epoch: String§previous_document_sha256: String§root_epoch: String§source_type: String§source_class: String§allowed_publishers: Vec<String>§allowed_artifact_hosts: Vec<String>§active_keys: SourcePolicyActiveKeys§capability_publisher_scopes: Vec<SourcePolicyCapabilityPublisherScope>§require_signature: bool§install_policy: String§unsigned_policy: String§downgrade_policy: String§minimum_revocation_epoch: String§limits: SourcePolicyLimits§generated_at: String§expires_at: String§key_id: StringTrait Implementations§
Source§impl Clone for SourcePolicyInput
impl Clone for SourcePolicyInput
Source§fn clone(&self) -> SourcePolicyInput
fn clone(&self) -> SourcePolicyInput
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 SourcePolicyInput
impl Debug for SourcePolicyInput
impl Eq for SourcePolicyInput
Source§impl PartialEq for SourcePolicyInput
impl PartialEq for SourcePolicyInput
impl StructuralPartialEq for SourcePolicyInput
Auto Trait Implementations§
impl Freeze for SourcePolicyInput
impl RefUnwindSafe for SourcePolicyInput
impl Send for SourcePolicyInput
impl Sync for SourcePolicyInput
impl Unpin for SourcePolicyInput
impl UnsafeUnpin for SourcePolicyInput
impl UnwindSafe for SourcePolicyInput
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