Struct mln_did::instruction::RemoveService
source · pub struct RemoveService {
pub fragment: String,
pub eth_signature: Option<Secp256k1RawSignature>,
}Expand description
Instruction.
Fields§
§fragment: String§eth_signature: Option<Secp256k1RawSignature>Trait Implementations§
source§impl BorshDeserialize for RemoveService
impl BorshDeserialize for RemoveService
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
source§impl BorshSerialize for RemoveService
impl BorshSerialize for RemoveService
source§impl Discriminator for RemoveService
impl Discriminator for RemoveService
const DISCRIMINATOR: [u8; 8] = _
fn discriminator() -> [u8; 8]
source§impl InstructionData for RemoveService
impl InstructionData for RemoveService
Auto Trait Implementations§
impl RefUnwindSafe for RemoveService
impl Send for RemoveService
impl Sync for RemoveService
impl Unpin for RemoveService
impl UnwindSafe for RemoveService
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