cscart_rs/types/
service.rs1#[derive(Default)]
2pub struct GetAllOptions {
3 pub params: Option<Vec<(String, String)>>,
4}
5
6impl GetAllOptions {
7 pub fn params(&self) -> &[(String, String)] {
8 match &self.params {
9 Some(x) => x,
10 None => &[],
11 }
12 }
13}