Struct kraapi::api::private::ledger_info::KILedgerInfo [−][src]
Request builder for the Get Ledgers Info endpoint
Implementations
impl KILedgerInfo
[src]
pub fn build() -> Self
[src]
Constructor returning a KrakenInput builder for the get ledgers info endpoint.
pub fn clear_asset_list(self) -> Self
[src]
An asset is not required for the get ledgers info endpoint. This method clears a currently populated asset list. Useful for templating
pub fn with_asset(self, asset: KAsset) -> Self
[src]
Update the list of assets to query info for
pub fn with_asset_list<T>(self, assets: T) -> Self where
T: IntoIterator<Item = KAsset>,
[src]
T: IntoIterator<Item = KAsset>,
Update the list of assets to query info for
pub fn with_trade_type(self, ledgertype: LedgerType) -> Self
[src]
Type of Ledger Type to retrieve
pub fn starting_timestamp(self, timestamp: u64) -> Self
[src]
Starting Unix timestamp to filter output by. Exclusive
pub fn ending_timestamp(self, timestamp: u64) -> Self
[src]
Ending Unix timestamp to filter output by. Inclusive
pub fn starting_legid(self, legid: String) -> Self
[src]
Starting ledger ID to filter output by. Exclusive
pub fn ending_legid(self, legid: String) -> Self
[src]
Ending ledger ID to filter output by. Inclusive
pub fn with_offset(self, offset: u64) -> Self
[src]
Result offset
Trait Implementations
impl Input for KILedgerInfo
[src]
fn finish(self) -> KrakenInput
[src]
fn finish_clone(self) -> (KrakenInput, Self)
[src]
Auto Trait Implementations
impl RefUnwindSafe for KILedgerInfo
impl Send for KILedgerInfo
impl Sync for KILedgerInfo
impl Unpin for KILedgerInfo
impl UnwindSafe for KILedgerInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,