pub struct Movement {
pub id: u32,
pub kind: MovementKind,
pub fees: Amount,
pub spends: Vec<Vtxo>,
pub receives: Vec<Vtxo>,
pub recipients: Vec<MovementRecipient>,
pub created_at: String,
}Expand description
A Movement represents any offchain balance change,
either by receiving, sending or refreshing VTXO
Fields§
§id: u32§kind: MovementKindMovement kind
fees: AmountFees paid for the movement
spends: Vec<Vtxo>wallet’s VTXOs spent in this movement
receives: Vec<Vtxo>Received VTXOs from this movement
recipients: Vec<MovementRecipient>External recipients of the movement
created_at: StringMovement date
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Movement
impl RefUnwindSafe for Movement
impl Send for Movement
impl Sync for Movement
impl Unpin for Movement
impl UnwindSafe for Movement
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request