pub struct Engine {
pub id: String,
pub name: String,
pub client_secret: String,
pub user_id: String,
pub max_threads: u32,
pub max_hash: u32,
pub default_depth: u8,
pub variants: Vec<String>,
pub provider_data: Option<String>,
}Fields§
§id: String§name: String§client_secret: String§user_id: String§max_threads: u32§max_hash: u32§default_depth: u8§variants: Vec<String>§provider_data: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Engine
impl<'de> Deserialize<'de> for Engine
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 Engine
impl RefUnwindSafe for Engine
impl Send for Engine
impl Sync for Engine
impl Unpin for Engine
impl UnwindSafe for Engine
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