Trait stellar_client::endpoint::Limit[][src]

pub trait Limit {
    fn with_limit(self, limit: u32) -> Self;
fn limit(&self) -> Option<u32>; }

Declares that this endpoint has a limit and can have it set.

Example

use stellar_client::endpoint::{Limit, transaction};

let txns = transaction::All::default().with_limit(2);

Required Methods

Sets a limit on the struct and returns an owned version.

Returns the limit or None.

Implementors