uniffi_lipalightninglib

Struct CalculateLspFeeResponse

source
pub struct CalculateLspFeeResponse {
    pub lsp_fee: Amount,
    pub lsp_fee_params: Option<OpeningFeeParams>,
}
๐Ÿ‘ŽDeprecated: CalculateLspFeeResponseV2 should be used instead
Expand description

The type returned by LightningNode::calculate_lsp_fee.

Fieldsยง

ยงlsp_fee: Amount
๐Ÿ‘ŽDeprecated: CalculateLspFeeResponseV2 should be used instead

Indicates the amount that will be charged.

ยงlsp_fee_params: Option<OpeningFeeParams>
๐Ÿ‘ŽDeprecated: CalculateLspFeeResponseV2 should be used instead

An internal struct is not supposed to be inspected, but only passed to LightningNode::create_invoice.

Auto Trait Implementationsยง

Blanket Implementationsยง

sourceยง

impl<T> Any for T
where T: 'static + ?Sized,

sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
ยง

impl<T> Any for T
where T: Any,

ยง

fn into_any(self: Box<T>) -> Box<dyn Any>

ยง

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

ยง

fn type_name(&self) -> &'static str

ยง

impl<T> AnySync for T
where T: Any + Send + Sync,

ยง

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

ยง

impl<T> AsAny for T
where T: Any,

ยง

fn as_any(&self) -> &(dyn Any + 'static)

ยง

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

ยง

fn type_name(&self) -> &'static str

Gets the type name of self
ยง

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

ยง

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

ยง

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

ยง

fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

sourceยง

impl<T> Borrow<T> for T
where T: ?Sized,

sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
sourceยง

impl<T> BorrowMut<T> for T
where T: ?Sized,

sourceยง

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
ยง

impl<T> Downcast for T
where T: AsAny + ?Sized,

ยง

fn is<T>(&self) -> bool
where T: AsAny,

Returns true if the boxed type is the same as T. Read more
ยง

fn downcast_ref<T>(&self) -> Option<&T>
where T: AsAny,

Forward to the method defined on the type Any.
ยง

fn downcast_mut<T>(&mut self) -> Option<&mut T>
where T: AsAny,

Forward to the method defined on the type Any.
sourceยง

impl<T> From<T> for T

sourceยง

fn from(t: T) -> T

Returns the argument unchanged.

ยง

impl<T, UT> HandleAlloc<UT> for T
where T: Send + Sync,

ยง

fn new_handle(value: Arc<T>) -> Handle

Create a new handle for an Arc value Read more
ยง

unsafe fn clone_handle(handle: Handle) -> Handle

Clone a handle Read more
ยง

unsafe fn consume_handle(handle: Handle) -> Arc<T>

Consume a handle, getting back the initial Arc<> Read more
ยง

unsafe fn get_arc(handle: Handle) -> Arc<Self>

Get a clone of the Arc<> using a โ€œborrowedโ€ handle. Read more
ยง

impl<T> Instrument for T

ยง

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
ยง

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
sourceยง

impl<T, U> Into<U> for T
where U: From<T>,

sourceยง

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

sourceยง

impl<T> IntoEither for T

sourceยง

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
sourceยง

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
sourceยง

impl<T> IntoRequest<T> for T

sourceยง

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
ยง

impl<T> Pointable for T

ยง

const ALIGN: usize = _

The alignment of pointer.
ยง

type Init = T

The type for initializers.
ยง

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
ยง

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
ยง

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
ยง

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
sourceยง

impl<T> Same for T

sourceยง

type Output = T

Should always be Self
sourceยง

impl<T, U> TryFrom<U> for T
where U: Into<T>,

sourceยง

type Error = Infallible

The type returned in the event of a conversion error.
sourceยง

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
sourceยง

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

sourceยง

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
sourceยง

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
ยง

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

ยง

fn vzip(self) -> V

ยง

impl<T> WithSubscriber for T

ยง

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
ยง

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
ยง

impl<T> DartSafe for T

ยง

impl<T> ErasedDestructor for T
where T: 'static,

ยง

impl<T> MaybeSendSync for T