Struct crowdstrike_cloudproto::services::lfo::LfoRequest
source · pub struct LfoRequest { /* private fields */ }Expand description
Ask for a single file on a remote LFO server by path.
By default requests indicate support for XZ compression, but this is configurable. Even if a request accepts compression, the server may decide to reply with an uncompressed response if the requested file is itself an archive on disk.
Requests contain the CID (Customer ID) and AID (Agent ID) of the client, but the LFO server will accept any value for these, so in practice no authentication is required.
Implementations§
source§impl LfoRequest
impl LfoRequest
sourcepub fn new_simple(remote_path: String) -> Self
pub fn new_simple(remote_path: String) -> Self
Create a request for remote_path with default values
pub fn new_custom( cid: [u8; 16], aid: [u8; 16], compression: CompressionFormats, remote_path: String ) -> Self
Trait Implementations§
source§impl Clone for LfoRequest
impl Clone for LfoRequest
source§fn clone(&self) -> LfoRequest
fn clone(&self) -> LfoRequest
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 moresource§impl Debug for LfoRequest
impl Debug for LfoRequest
source§impl PartialEq<LfoRequest> for LfoRequest
impl PartialEq<LfoRequest> for LfoRequest
source§fn eq(&self, other: &LfoRequest) -> bool
fn eq(&self, other: &LfoRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.