pub struct LogEntryBuilder { /* private fields */ }
Implementations§
Source§impl LogEntryBuilder
impl LogEntryBuilder
pub fn source(self, source: impl Into<LogEntrySource>) -> Self
pub fn level(self, level: impl Into<LogEntryLevel>) -> Self
pub fn text(self, text: impl Into<String>) -> Self
pub fn category(self, category: impl Into<LogEntryCategory>) -> Self
pub fn timestamp(self, timestamp: impl Into<Timestamp>) -> Self
pub fn url(self, url: impl Into<String>) -> Self
pub fn line_number(self, line_number: impl Into<i64>) -> Self
pub fn stack_trace(self, stack_trace: impl Into<StackTrace>) -> Self
pub fn network_request_id( self, network_request_id: impl Into<RequestId>, ) -> Self
pub fn worker_id(self, worker_id: impl Into<String>) -> Self
pub fn arg(self, arg: impl Into<RemoteObject>) -> Self
pub fn args<I, S>(self, args: I) -> Self
pub fn build(self) -> Result<LogEntry, String>
Trait Implementations§
Source§impl Clone for LogEntryBuilder
impl Clone for LogEntryBuilder
Source§fn clone(&self) -> LogEntryBuilder
fn clone(&self) -> LogEntryBuilder
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 moreSource§impl Default for LogEntryBuilder
impl Default for LogEntryBuilder
Source§fn default() -> LogEntryBuilder
fn default() -> LogEntryBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LogEntryBuilder
impl RefUnwindSafe for LogEntryBuilder
impl Send for LogEntryBuilder
impl Sync for LogEntryBuilder
impl Unpin for LogEntryBuilder
impl UnwindSafe for LogEntryBuilder
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