Struct dsnp_graph_config::ROCOCO_CONFIG
source · pub struct ROCOCO_CONFIG { /* private fields */ }
Expand description
Testnet Rococo Config
Methods from Deref<Target = Config>§
sourcepub fn get_dsnp_version_from_schema_id(
&self,
schema_id: SchemaId
) -> Option<DsnpVersion>
pub fn get_dsnp_version_from_schema_id( &self, schema_id: SchemaId ) -> Option<DsnpVersion>
Returns the DSNP version for the given schema id
sourcepub fn get_connection_type_from_schema_id(
&self,
schema_id: SchemaId
) -> Option<ConnectionType>
pub fn get_connection_type_from_schema_id( &self, schema_id: SchemaId ) -> Option<ConnectionType>
Returns the connection type for the given schema id
sourcepub fn get_schema_id_from_connection_type(
&self,
connection_type: ConnectionType
) -> Option<SchemaId>
pub fn get_schema_id_from_connection_type( &self, connection_type: ConnectionType ) -> Option<SchemaId>
Returns the schema id for the given DSNP version and connection type
Trait Implementations§
source§impl Deref for ROCOCO_CONFIG
impl Deref for ROCOCO_CONFIG
impl LazyStatic for ROCOCO_CONFIG
Auto Trait Implementations§
impl RefUnwindSafe for ROCOCO_CONFIG
impl Send for ROCOCO_CONFIG
impl Sync for ROCOCO_CONFIG
impl Unpin for ROCOCO_CONFIG
impl UnwindSafe for ROCOCO_CONFIG
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