pub struct GetContractTemplatesParams {
pub limit: Option<f64>,
pub offset: Option<f64>,
pub page_cursor: Option<String>,
pub page_size: Option<f64>,
pub type: Option<String>,
pub initialization_phase: Option<String>,
}
Expand description
struct for passing parameters to the method [get_contract_templates
]
Fields§
§limit: Option<f64>
Items per page (max 100)
offset: Option<f64>
Paging offset
page_cursor: Option<String>
Page cursor to get the next page
page_size: Option<f64>
Number of items per page, requesting more then max will return max items
type: Option<String>
The type of the contract templates you wish to retrieve. Can accept one type, more or none
initialization_phase: Option<String>
For standalone contracts use ON_DEPLOYMENT and for contracts that are behind proxies use POST_DEPLOYMENT
Implementations§
Source§impl GetContractTemplatesParams
impl GetContractTemplatesParams
Sourcepub fn builder() -> GetContractTemplatesParamsBuilder
pub fn builder() -> GetContractTemplatesParamsBuilder
Create an instance of GetContractTemplatesParams
using the builder syntax
Trait Implementations§
Source§impl Clone for GetContractTemplatesParams
impl Clone for GetContractTemplatesParams
Source§fn clone(&self) -> GetContractTemplatesParams
fn clone(&self) -> GetContractTemplatesParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for GetContractTemplatesParams
impl RefUnwindSafe for GetContractTemplatesParams
impl Send for GetContractTemplatesParams
impl Sync for GetContractTemplatesParams
impl Unpin for GetContractTemplatesParams
impl UnwindSafe for GetContractTemplatesParams
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