pub struct JournalGateway { /* private fields */ }Implementations§
Source§impl JournalGateway
impl JournalGateway
pub fn new(baseurl_str: &str) -> Result<JournalGateway, Error>
pub fn get_all_entries(&self) -> Result<Vec<JournalEntry>, Error>
pub fn get_first_entry( &self, filters: Option<&Vec<(String, String)>>, ) -> Result<JournalEntry, Error>
pub fn get_last_entry( &self, filters: Option<&Vec<(String, String)>>, ) -> Result<JournalEntry, Error>
pub fn get_entries( &self, filters: Option<&Vec<(String, String)>>, pagination: Option<PaginationParams>, ) -> Result<Vec<JournalEntry>, Error>
Auto Trait Implementations§
impl Freeze for JournalGateway
impl !RefUnwindSafe for JournalGateway
impl Send for JournalGateway
impl Sync for JournalGateway
impl Unpin for JournalGateway
impl !UnwindSafe for JournalGateway
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