pub struct Builder<'a> { /* private fields */ }Implementations§
Source§impl<'a> Builder<'a>
impl<'a> Builder<'a>
pub fn into_reader(self) -> Reader<'a>
pub fn reborrow(&mut self) -> Builder<'_>
pub fn reborrow_as_reader(&self) -> Reader<'_>
pub fn total_size(&self) -> Result<MessageSize, Error>
pub fn get_id(self) -> Result<Builder<'a>, Error>
pub fn set_id(&mut self, value: impl SetterInput<Owned>)
pub fn init_id(self, size: u32) -> Builder<'a>
pub fn has_id(&self) -> bool
pub fn get_type(self) -> Result<VerificationMethodType, NotInSchema>
pub fn set_type(&mut self, value: VerificationMethodType)
pub fn get_controller(self) -> Result<Builder<'a>, Error>
pub fn set_controller(&mut self, value: impl SetterInput<Owned>)
pub fn init_controller(self, size: u32) -> Builder<'a>
pub fn has_controller(&self) -> bool
pub fn get_public_key_multibase(self) -> Result<Builder<'a>, Error>
pub fn set_public_key_multibase(&mut self, value: impl SetterInput<Owned>)
pub fn init_public_key_multibase(self, size: u32) -> Builder<'a>
pub fn has_public_key_multibase(&self) -> bool
pub fn get_public_key_jwk(self) -> Result<&'a mut [u8], Error>
pub fn set_public_key_jwk(&mut self, value: &[u8])
pub fn init_public_key_jwk(self, size: u32) -> &'a mut [u8] ⓘ
pub fn has_public_key_jwk(&self) -> bool
pub fn get_blockchain_account_id(self) -> Result<Builder<'a>, Error>
pub fn set_blockchain_account_id(&mut self, value: impl SetterInput<Owned>)
pub fn init_blockchain_account_id(self, size: u32) -> Builder<'a>
pub fn has_blockchain_account_id(&self) -> bool
Trait Implementations§
Source§impl<'a> From<StructBuilder<'a>> for Builder<'a>
impl<'a> From<StructBuilder<'a>> for Builder<'a>
Source§fn from(builder: StructBuilder<'a>) -> Builder<'a>
fn from(builder: StructBuilder<'a>) -> Builder<'a>
Converts to this type from the input type.
Source§impl<'a> FromPointerBuilder<'a> for Builder<'a>
impl<'a> FromPointerBuilder<'a> for Builder<'a>
fn init_pointer(builder: PointerBuilder<'a>, _size: u32) -> Builder<'a>
fn get_from_pointer( builder: PointerBuilder<'a>, default: Option<&'a [Word]>, ) -> Result<Builder<'a>, Error>
Source§impl HasStructSize for Builder<'_>
impl HasStructSize for Builder<'_>
const STRUCT_SIZE: StructSize
Auto Trait Implementations§
impl<'a> Freeze for Builder<'a>
impl<'a> !RefUnwindSafe for Builder<'a>
impl<'a> !Send for Builder<'a>
impl<'a> !Sync for Builder<'a>
impl<'a> Unpin for Builder<'a>
impl<'a> !UnwindSafe for Builder<'a>
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