Struct torn_api::ApiRequest
source · pub struct ApiRequest<A>where
A: ApiSelection,{
pub selections: Vec<&'static str>,
pub from: Option<i64>,
pub to: Option<i64>,
pub comment: Option<String>,
/* private fields */
}
Fields§
§selections: Vec<&'static str>
§from: Option<i64>
§to: Option<i64>
§comment: Option<String>
Implementations§
source§impl<A> ApiRequest<A>where
A: ApiSelection,
impl<A> ApiRequest<A>where A: ApiSelection,
Trait Implementations§
source§impl<A> Debug for ApiRequest<A>where
A: ApiSelection + Debug,
impl<A> Debug for ApiRequest<A>where A: ApiSelection + Debug,
source§impl<A> Default for ApiRequest<A>where
A: ApiSelection,
impl<A> Default for ApiRequest<A>where A: ApiSelection,
Auto Trait Implementations§
impl<A> RefUnwindSafe for ApiRequest<A>where A: RefUnwindSafe,
impl<A> Send for ApiRequest<A>
impl<A> Sync for ApiRequest<A>
impl<A> Unpin for ApiRequest<A>where A: Unpin,
impl<A> UnwindSafe for ApiRequest<A>where A: UnwindSafe,
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