pub struct RemoteRegistryConfig {
pub enabled: bool,
pub url: Option<String>,
pub cache_ttl_hours: u64,
pub require_consent: bool,
pub last_accepted_digest: Option<String>,
}Fields§
§enabled: bool§url: Option<String>§cache_ttl_hours: u64§require_consent: bool§last_accepted_digest: Option<String>Trait Implementations§
Source§impl Clone for RemoteRegistryConfig
impl Clone for RemoteRegistryConfig
Source§fn clone(&self) -> RemoteRegistryConfig
fn clone(&self) -> RemoteRegistryConfig
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 moreSource§impl Debug for RemoteRegistryConfig
impl Debug for RemoteRegistryConfig
Source§impl<'de> Deserialize<'de> for RemoteRegistryConfig
impl<'de> Deserialize<'de> for RemoteRegistryConfig
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
Auto Trait Implementations§
impl Freeze for RemoteRegistryConfig
impl RefUnwindSafe for RemoteRegistryConfig
impl Send for RemoteRegistryConfig
impl Sync for RemoteRegistryConfig
impl Unpin for RemoteRegistryConfig
impl UnsafeUnpin for RemoteRegistryConfig
impl UnwindSafe for RemoteRegistryConfig
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