pub struct Intent {
pub proof: Psbt,
/* private fields */
}Fields§
§proof: PsbtImplementations§
Source§impl Intent
impl Intent
pub fn new(proof: Psbt, message: IntentMessage) -> Self
pub fn serialize_proof(&self) -> String
pub fn serialize_message(&self) -> Result<String, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Intent
impl RefUnwindSafe for Intent
impl Send for Intent
impl Sync for Intent
impl Unpin for Intent
impl UnsafeUnpin for Intent
impl UnwindSafe for Intent
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