Struct twapi_v2::api::get_2_spaces::Api
source · pub struct Api { /* private fields */ }Implementations§
source§impl Api
impl Api
pub fn new(bearer_code: &str, ids: &str) -> Self
pub fn expansions(self, value: HashSet<Expansions>) -> Self
pub fn space_fields(self, value: HashSet<SpaceFields>) -> Self
pub fn topic_fields(self, value: HashSet<TopicFields>) -> Self
pub fn user_fields(self, value: HashSet<UserFields>) -> Self
pub fn build(self) -> RequestBuilder
pub async fn execute(self) -> TwitterResult
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Api
impl Send for Api
impl Sync for Api
impl Unpin for Api
impl UnwindSafe for Api
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