Struct lichess_api::model::external_engine::create::ExternalEngine
source · pub struct ExternalEngine {
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 Clone for ExternalEngine
impl Clone for ExternalEngine
source§fn clone(&self) -> ExternalEngine
fn clone(&self) -> ExternalEngine
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 ExternalEngine
impl Debug for ExternalEngine
source§impl<'de> Deserialize<'de> for ExternalEngine
impl<'de> Deserialize<'de> for ExternalEngine
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 ExternalEngine
impl RefUnwindSafe for ExternalEngine
impl Send for ExternalEngine
impl Sync for ExternalEngine
impl Unpin for ExternalEngine
impl UnwindSafe for ExternalEngine
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)