pub struct SignDocument { /* private fields */ }Expand description
An almost completed NewDocument. Complete it by finding the appropriate
IdentityKey and calling complete.
Implementations§
Source§impl SignDocument
impl SignDocument
Sourcepub fn complete(self, key: &IdentityKey) -> Result<NewDocument, ObjectError>
pub fn complete(self, key: &IdentityKey) -> Result<NewDocument, ObjectError>
Attempt to sign the Document and complete it.
Auto Trait Implementations§
impl Freeze for SignDocument
impl RefUnwindSafe for SignDocument
impl Send for SignDocument
impl Sync for SignDocument
impl Unpin for SignDocument
impl UnwindSafe for SignDocument
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