pub struct PolicyPreviewRequest {
pub packages: Vec<PackageRef>,
pub policy: Option<Value>,
}Expand description
Body of POST /v1/policy/preview — packages + optional
hypothetical policy override (JSON-shaped; YAML-source customers
convert client-side).
Fields§
§packages: Vec<PackageRef>§policy: Option<Value>Trait Implementations§
Source§impl Clone for PolicyPreviewRequest
impl Clone for PolicyPreviewRequest
Source§fn clone(&self) -> PolicyPreviewRequest
fn clone(&self) -> PolicyPreviewRequest
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 PolicyPreviewRequest
impl Debug for PolicyPreviewRequest
Auto Trait Implementations§
impl Freeze for PolicyPreviewRequest
impl RefUnwindSafe for PolicyPreviewRequest
impl Send for PolicyPreviewRequest
impl Sync for PolicyPreviewRequest
impl Unpin for PolicyPreviewRequest
impl UnsafeUnpin for PolicyPreviewRequest
impl UnwindSafe for PolicyPreviewRequest
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