Struct Adapter Target Descriptor
Generated from cargo doc --no-deps -p nemo-fabric-core.
pub struct AdapterTargetDescriptor {
pub contract_version: String,
pub id: String,
pub adapter_id: String,
pub target: AdapterTarget,
pub extensions: BTreeMap<String, Value>,
}
Independently registered target implemented by an adapter.
Fields
contract_version: String
Adapter Contract version shared with Adapter Descriptor.
id: String
Unique registered target id.
adapter_id: String
Adapter implementation selected by this target.
target: AdapterTarget
Type-specific target fields.
extensions: BTreeMap<String, Value>
Additive target descriptor fields.
Implementations
impl AdapterTargetDescriptor
impl AdapterTargetDescriptor
target_type
pub fn target_type(&self) -> AdapterTargetType
Return this target’s category.
Trait Implementations
impl Clone for AdapterTargetDescriptor
impl Clone for AdapterTargetDescriptor
clone
fn clone(&self) -> AdapterTargetDescriptor
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for AdapterTargetDescriptor
impl Debug for AdapterTargetDescriptor
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for AdapterTargetDescriptor
impl<'de> Deserialize<'de> for AdapterTargetDescriptor
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl JsonSchema for AdapterTargetDescriptor
impl JsonSchema for AdapterTargetDescriptor
schema_name
fn schema_name() -> Cow<'static, str>
schema_id
fn schema_id() -> Cow<'static, str>
json_schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
inline_schema
fn inline_schema() -> bool
impl PartialEq for AdapterTargetDescriptor
impl PartialEq for AdapterTargetDescriptor
eq
fn eq(&self, other: &AdapterTargetDescriptor) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for AdapterTargetDescriptor
impl Serialize for AdapterTargetDescriptor
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for AdapterTargetDescriptor
impl StructuralPartialEq for AdapterTargetDescriptor