pub struct Endpoints;Implementations§
Source§impl Endpoints
impl Endpoints
pub fn tweet_detail(tweet_id: &str) -> ApiEndpoint
pub fn tweet_by_rest_id(tweet_id: &str) -> ApiEndpoint
pub fn user_tweets( user_id: &str, count: i32, cursor: Option<&str>, ) -> ApiEndpoint
pub fn user_tweets_and_replies( user_id: &str, count: i32, cursor: Option<&str>, ) -> ApiEndpoint
Auto Trait Implementations§
impl Freeze for Endpoints
impl RefUnwindSafe for Endpoints
impl Send for Endpoints
impl Sync for Endpoints
impl Unpin for Endpoints
impl UnwindSafe for Endpoints
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