Struct logscale_client::client::LogScaleClient
source · pub struct LogScaleClient { /* private fields */ }Implementations§
source§impl LogScaleClient
impl LogScaleClient
pub fn from_url( logscale_url: &str, ingest_token: String ) -> Result<Self, Box<dyn Error>>
pub async fn ingest_structured<'b>( &self, request: &[StructuredLogsIngestRequest<'b>] ) -> Result<(), IngestStructuredDataError>
Trait Implementations§
source§impl Clone for LogScaleClient
impl Clone for LogScaleClient
source§fn clone(&self) -> LogScaleClient
fn clone(&self) -> LogScaleClient
Returns a copy 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 moreimpl Send for LogScaleClient
impl Sync for LogScaleClient
Auto Trait Implementations§
impl !RefUnwindSafe for LogScaleClient
impl Unpin for LogScaleClient
impl !UnwindSafe for LogScaleClient
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