pub struct EngineDescriptor {
pub id: String,
pub name: String,
pub needs_credentials: bool,
pub credential_keys_json: String,
}Expand description
Describes a registered engine for introspection.
Fields§
§id: StringUnique engine identifier.
name: StringHuman-readable engine name.
needs_credentials: boolWhether this engine requires API credentials.
credential_keys_json: StringJSON array of credential key names, e.g. r#"["apiKey"]"#.
Trait Implementations§
Source§impl Clone for EngineDescriptor
impl Clone for EngineDescriptor
Source§fn clone(&self) -> EngineDescriptor
fn clone(&self) -> EngineDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EngineDescriptor
impl RefUnwindSafe for EngineDescriptor
impl Send for EngineDescriptor
impl Sync for EngineDescriptor
impl Unpin for EngineDescriptor
impl UnsafeUnpin for EngineDescriptor
impl UnwindSafe for EngineDescriptor
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