pub struct JsGetActiveContractsPageResponse {
pub active_contracts: Vec<JsGetActiveContractsResponse>,
pub active_at_offset: i64,
pub next_page_token: Option<String>,
}Fields§
§active_contracts: Vec<JsGetActiveContractsResponse>The collection of active contracts for this page response. Required: must be non-empty
active_at_offset: i64The active_at_offset which was specified in the request, or the calculated active_at_offset from the actual ledger end from at the evaluation of the request. Required
next_page_token: Option<String>If not present this is the last page. If present, this token must be used to get the next page. Optional: can be empty
Implementations§
Source§impl JsGetActiveContractsPageResponse
impl JsGetActiveContractsPageResponse
pub fn new( active_contracts: Vec<JsGetActiveContractsResponse>, active_at_offset: i64, ) -> JsGetActiveContractsPageResponse
Trait Implementations§
Source§impl Clone for JsGetActiveContractsPageResponse
impl Clone for JsGetActiveContractsPageResponse
Source§fn clone(&self) -> JsGetActiveContractsPageResponse
fn clone(&self) -> JsGetActiveContractsPageResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for JsGetActiveContractsPageResponse
impl Default for JsGetActiveContractsPageResponse
Source§fn default() -> JsGetActiveContractsPageResponse
fn default() -> JsGetActiveContractsPageResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JsGetActiveContractsPageResponse
impl<'de> Deserialize<'de> for JsGetActiveContractsPageResponse
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
impl StructuralPartialEq for JsGetActiveContractsPageResponse
Auto Trait Implementations§
impl Freeze for JsGetActiveContractsPageResponse
impl RefUnwindSafe for JsGetActiveContractsPageResponse
impl Send for JsGetActiveContractsPageResponse
impl Sync for JsGetActiveContractsPageResponse
impl Unpin for JsGetActiveContractsPageResponse
impl UnsafeUnpin for JsGetActiveContractsPageResponse
impl UnwindSafe for JsGetActiveContractsPageResponse
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