pub struct TwitterTool { /* private fields */ }Expand description
Twitter tool for social sentiment analysis
Implementations§
Source§impl TwitterTool
impl TwitterTool
Sourcepub fn new(config: TwitterConfig) -> Self
pub fn new(config: TwitterConfig) -> Self
Create a new TwitterTool with the given configuration
Sourcepub fn from_bearer_token(bearer_token: String) -> Self
pub fn from_bearer_token(bearer_token: String) -> Self
Create from a bearer token with default settings
Auto Trait Implementations§
impl Freeze for TwitterTool
impl RefUnwindSafe for TwitterTool
impl Send for TwitterTool
impl Sync for TwitterTool
impl Unpin for TwitterTool
impl UnwindSafe for TwitterTool
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