Struct rebuilderd_common::config::WorkerConfig
source · pub struct WorkerConfig {
pub authorized_workers: Vec<String>,
pub signup_secret: Option<String>,
}
Fields§
§signup_secret: Option<String>
Implementations§
source§impl WorkerConfig
impl WorkerConfig
pub fn update(&mut self, c: WorkerConfig)
Trait Implementations§
source§impl Clone for WorkerConfig
impl Clone for WorkerConfig
source§fn clone(&self) -> WorkerConfig
fn clone(&self) -> WorkerConfig
Returns a copy 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 WorkerConfig
impl Debug for WorkerConfig
source§impl Default for WorkerConfig
impl Default for WorkerConfig
source§fn default() -> WorkerConfig
fn default() -> WorkerConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WorkerConfig
impl<'de> Deserialize<'de> for WorkerConfig
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 RefUnwindSafe for WorkerConfig
impl Send for WorkerConfig
impl Sync for WorkerConfig
impl Unpin for WorkerConfig
impl UnwindSafe for WorkerConfig
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