pub struct LanesResponse {
pub lanes: Vec<LaneSnapshot>,
pub redeem_threshold_micro_usdc: u64,
}Expand description
Response body for admin_v1_lanes (issue #749). Shared between the
server (serializes), decdn node lanes (deserializes via the
generated client), and the integration tests.
Fields§
§lanes: Vec<LaneSnapshot>One entry per lane the node currently tracks. Ordering is most recently active first (lanes with a known last-voucher time ahead of those without), then by descending outstanding amount — the on-call use case is “which lanes are closest to a settlement / liquidity event?”.
redeem_threshold_micro_usdc: u64The node’s configured redemption threshold in micro-USDC
(blockchain.redeem_threshold_micro_usdc). Echoed once at the top
level — rather than repeated per lane — so the renderer can show
the bar each LaneSnapshot::settlement_eligible is measured
against without the operator cross-referencing the config.
Trait Implementations§
Source§impl Clone for LanesResponse
impl Clone for LanesResponse
Source§impl Debug for LanesResponse
impl Debug for LanesResponse
Source§impl<'de> Deserialize<'de> for LanesResponse
impl<'de> Deserialize<'de> for LanesResponse
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 LanesResponse
impl RefUnwindSafe for LanesResponse
impl Send for LanesResponse
impl Sync for LanesResponse
impl Unpin for LanesResponse
impl UnsafeUnpin for LanesResponse
impl UnwindSafe for LanesResponse
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<'de, T> BorrowedRpcObject<'de> for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
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