pub struct DelegatedRefreshRequest {
pub vtxos: Vec<String>,
pub height: Option<u32>,
}Fields§
§vtxos: Vec<String>List of VTXO IDs to refresh. The sum of the VTXOs being refreshed must be
= P2TR_DUST. Keep in mind that fees set out in RefreshFees will be deducted from the newly created VTXO, this value must also be >= P2TR_DUST.
height: Option<u32>Optional block height to schedule the refresh at. When set, the refresh fee is priced at that height and the server includes the participation in the first round once the chain tip reaches it; when omitted, the participation is eligible for the next round.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DelegatedRefreshRequest
impl<'de> Deserialize<'de> for DelegatedRefreshRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DelegatedRefreshRequest
impl RefUnwindSafe for DelegatedRefreshRequest
impl Send for DelegatedRefreshRequest
impl Sync for DelegatedRefreshRequest
impl Unpin for DelegatedRefreshRequest
impl UnsafeUnpin for DelegatedRefreshRequest
impl UnwindSafe for DelegatedRefreshRequest
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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