pub struct UpdateConfig {
pub manifest_url: String,
pub pubkeys: Vec<String>,
}Expand description
Where updates come from and who is trusted to sign them. The plugin
setup hook builds this from the validated crate::Config; Rust-side
callers may construct it directly.
Fields§
§manifest_url: StringURL of manifest.json. The detached signature is fetched from
{manifest_url}.minisig, so the URL must be a plain file URL
(no query strings).
pubkeys: Vec<String>Trusted minisign public keys — raw base64 or full minisign.pub
contents. A manifest verifying under ANY key is trusted (rotation:
ship old + new during a transition).
Trait Implementations§
Source§impl Clone for UpdateConfig
impl Clone for UpdateConfig
Source§fn clone(&self) -> UpdateConfig
fn clone(&self) -> UpdateConfig
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 UpdateConfig
impl Debug for UpdateConfig
impl Eq for UpdateConfig
Source§impl PartialEq for UpdateConfig
impl PartialEq for UpdateConfig
impl StructuralPartialEq for UpdateConfig
Auto Trait Implementations§
impl Freeze for UpdateConfig
impl RefUnwindSafe for UpdateConfig
impl Send for UpdateConfig
impl Sync for UpdateConfig
impl Unpin for UpdateConfig
impl UnsafeUnpin for UpdateConfig
impl UnwindSafe for UpdateConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.