pub struct CreateExternalEngine {
pub name: String,
pub max_threads: u32,
pub max_hash: u32,
pub default_depth: u8,
pub variants: Option<Vec<String>>,
pub provider_secret: String,
pub provider_data: Option<String>,
}Fields§
§name: String§max_threads: u32§max_hash: u32§default_depth: u8§variants: Option<Vec<String>>§provider_secret: String§provider_data: Option<String>Trait Implementations§
Source§impl Clone for CreateExternalEngine
impl Clone for CreateExternalEngine
Source§fn clone(&self) -> CreateExternalEngine
fn clone(&self) -> CreateExternalEngine
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 CreateExternalEngine
impl Debug for CreateExternalEngine
Source§impl From<CreateExternalEngine> for PostRequest
impl From<CreateExternalEngine> for PostRequest
Source§fn from(engine: CreateExternalEngine) -> Self
fn from(engine: CreateExternalEngine) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateExternalEngine
impl RefUnwindSafe for CreateExternalEngine
impl Send for CreateExternalEngine
impl Sync for CreateExternalEngine
impl Unpin for CreateExternalEngine
impl UnwindSafe for CreateExternalEngine
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