pub struct AnnouncementsClient { /* private fields */ }Implementations§
Source§impl AnnouncementsClient
impl AnnouncementsClient
pub fn new(client: RestClient) -> Self
Sourcepub async fn get_announcements(
&self,
locale: Option<&str>,
type_list: Option<&str>,
tag: Option<&str>,
page: Option<i32>,
limit: Option<i32>,
) -> BybitResult<ServerResponse<Value>>
pub async fn get_announcements( &self, locale: Option<&str>, type_list: Option<&str>, tag: Option<&str>, page: Option<i32>, limit: Option<i32>, ) -> BybitResult<ServerResponse<Value>>
Get announcements https://bybit-exchange.github.io/docs/v5/announcement
Trait Implementations§
Source§impl Clone for AnnouncementsClient
impl Clone for AnnouncementsClient
Source§fn clone(&self) -> AnnouncementsClient
fn clone(&self) -> AnnouncementsClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AnnouncementsClient
impl !RefUnwindSafe for AnnouncementsClient
impl Send for AnnouncementsClient
impl Sync for AnnouncementsClient
impl Unpin for AnnouncementsClient
impl !UnwindSafe for AnnouncementsClient
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