pub struct CheckParams {
pub repo: String,
pub running: String,
pub channel: UpdateChannel,
pub target: String,
pub token: Option<String>,
pub pin: Option<String>,
pub keys: Vec<PublicKey>,
pub download_base: Option<String>,
}Expand description
What one check needs.
Fields§
§repo: Stringowner/name.
running: String§channel: UpdateChannel§target: String§token: Option<String>A github.com token, when the user has one stored (a private repository answers 404 without it).
pin: Option<String>The administrator’s ceiling: "1.4" = any 1.4.x, "1.4.2" = at most
1.4.2 (see within_pin).
keys: Vec<PublicKey>The release signing keys a manifest is verified against (production:
gitpoulpi_update::signing::release_keys()). Empty accepts nothing.
download_base: Option<String>The policy’s download_base mirror, where the security notices of a
source that has no release page of its own are looked for.
Trait Implementations§
Source§impl Clone for CheckParams
impl Clone for CheckParams
Source§impl Debug for CheckParams
impl Debug for CheckParams
Auto Trait Implementations§
impl Forget for CheckParams
impl Freeze for CheckParams
impl Move for CheckParams
impl RefUnwindSafe for CheckParams
impl Send for CheckParamswhere
RawVecInner: Send,
impl Sync for CheckParamswhere
RawVecInner: Sync,
impl Unpin for CheckParams
impl UnsafeUnpin for CheckParamswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PublicKey>: UnsafeUnpin,
impl UnwindSafe for CheckParamswhere
RawVecInner: UnwindSafe,
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