pub struct RemotePack {
pub name: String,
pub version: String,
pub sha256: String,
pub tarball_path: PathBuf,
pub manifest: Value,
pub rego_files: Vec<String>,
pub signature_verified: bool,
pub inventory_only: bool,
}Fields§
§name: String§version: String§sha256: String§tarball_path: PathBuf§manifest: Value§rego_files: Vec<String>§signature_verified: bool§inventory_only: boolSet when the pack is loaded as inventory-only because the reference evaluator does not execute OPA Rego v1.
Trait Implementations§
Source§impl Clone for RemotePack
impl Clone for RemotePack
Source§fn clone(&self) -> RemotePack
fn clone(&self) -> RemotePack
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 moreAuto Trait Implementations§
impl Freeze for RemotePack
impl RefUnwindSafe for RemotePack
impl Send for RemotePack
impl Sync for RemotePack
impl Unpin for RemotePack
impl UnsafeUnpin for RemotePack
impl UnwindSafe for RemotePack
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