pub struct Vet1 {
pub packages: Vec<VettedPackagesRef>,
pub new_valid_from_inclusive: Option<String>,
pub new_valid_until_exclusive: Option<String>,
}Expand description
Vet1 : Set vetting bounds of a list of packages. Packages that were not previously vetted have their bounds added, previous vetting bounds are overwritten.
Fields§
§packages: Vec<VettedPackagesRef>Packages to be vetted. If a reference in this list matches more than one package, the change is considered ambiguous and the entire update request is rejected. In other words, every reference must match exactly one package. Required: must be non-empty
new_valid_from_inclusive: Option<String>The time from which these packages should be vetted, prior lower bounds are overwritten. Optional
new_valid_until_exclusive: Option<String>The time until which these packages should be vetted, prior upper bounds are overwritten. Optional
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Vet1
impl<'de> Deserialize<'de> for Vet1
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
impl StructuralPartialEq for Vet1
Auto Trait Implementations§
impl Freeze for Vet1
impl RefUnwindSafe for Vet1
impl Send for Vet1
impl Sync for Vet1
impl Unpin for Vet1
impl UnsafeUnpin for Vet1
impl UnwindSafe for Vet1
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