Struct rocket_rust::RocketChatAPI
source · [−]pub struct RocketChatAPI { /* private fields */ }Implementations
sourceimpl RocketChatAPI
impl RocketChatAPI
pub fn new(settings: Settings) -> RocketChatAPI
pub fn send_message(self, text: &str, room_id: &str) -> Result<String, Error>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RocketChatAPI
impl Send for RocketChatAPI
impl Sync for RocketChatAPI
impl Unpin for RocketChatAPI
impl UnwindSafe for RocketChatAPI
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more