pub struct LogGet { /* private fields */ }Expand description
LogGet struct
Implementations§
Source§impl LogGet
impl LogGet
Sourcepub fn new(id: u64, _layers_list: Layers, max_size: u64) -> Self
pub fn new(id: u64, _layers_list: Layers, max_size: u64) -> Self
Create a new LogGet struct Note: layers_list parameter is ignored - we always request ALL layers The filtering is done by the Application, not by the server
Sourcepub fn with_headers(self) -> Self
pub fn with_headers(self) -> Self
Set headers flag to true (request log file headers from the server)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogGet
impl<'de> Deserialize<'de> for LogGet
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LogGet
impl RefUnwindSafe for LogGet
impl Send for LogGet
impl Sync for LogGet
impl Unpin for LogGet
impl UnwindSafe for LogGet
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