Struct torn_api::ApiRequest
source · pub struct ApiRequest<A>where
A: ApiSelection,{
pub selections: Vec<&'static str>,
pub query_items: Vec<(&'static str, String)>,
pub comment: Option<String>,
/* private fields */
}
Fields§
§selections: Vec<&'static str>
§query_items: Vec<(&'static str, String)>
§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> Freeze for ApiRequest<A>
impl<A> RefUnwindSafe for ApiRequest<A>
impl<A> Send for ApiRequest<A>
impl<A> Sync for ApiRequest<A>
impl<A> Unpin for ApiRequest<A>
impl<A> UnwindSafe for ApiRequest<A>
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