Struct sol_did::legacy::LegacyServiceEndpoint
source · pub struct LegacyServiceEndpoint {
pub id: String,
pub endpoint_type: String,
pub endpoint: String,
pub description: String,
}Fields§
§id: StringId related to the endpoint
When the DID document is resolved, this is concatenated to the DID to produce
did:sol:
endpoint_type: StringEndpoint type
endpoint: StringThe actual URL of the endpoint
description: StringMore info about the endpoint
Implementations§
source§impl LegacyServiceEndpoint
impl LegacyServiceEndpoint
pub fn post_migration_size(&self) -> usize
Trait Implementations§
source§impl BorshDeserialize for LegacyServiceEndpointwhere
String: BorshDeserialize,
String: BorshDeserialize,
String: BorshDeserialize,
String: BorshDeserialize,
impl BorshDeserialize for LegacyServiceEndpointwhere
String: BorshDeserialize,
String: BorshDeserialize,
String: BorshDeserialize,
String: BorshDeserialize,
source§impl Clone for LegacyServiceEndpoint
impl Clone for LegacyServiceEndpoint
source§fn clone(&self) -> LegacyServiceEndpoint
fn clone(&self) -> LegacyServiceEndpoint
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 more