pub enum CompressionAlgorithm {
Gzip,
}Expand description
If the feed document contents have been compressed, the compression algorithm used is returned in this property and you must decompress the feed when you download. Otherwise, you can download the feed directly. Refer to Step 7. Download the feed processing report in the use case guide, where sample code is provided.
Variants§
Gzip
Trait Implementations§
Source§impl Clone for CompressionAlgorithm
impl Clone for CompressionAlgorithm
Source§fn clone(&self) -> CompressionAlgorithm
fn clone(&self) -> CompressionAlgorithm
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 Debug for CompressionAlgorithm
impl Debug for CompressionAlgorithm
Source§impl Default for CompressionAlgorithm
impl Default for CompressionAlgorithm
Source§fn default() -> CompressionAlgorithm
fn default() -> CompressionAlgorithm
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompressionAlgorithm
impl<'de> Deserialize<'de> for CompressionAlgorithm
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
Source§impl Hash for CompressionAlgorithm
impl Hash for CompressionAlgorithm
Source§impl Ord for CompressionAlgorithm
impl Ord for CompressionAlgorithm
Source§fn cmp(&self, other: &CompressionAlgorithm) -> Ordering
fn cmp(&self, other: &CompressionAlgorithm) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CompressionAlgorithm
impl PartialEq for CompressionAlgorithm
Source§impl PartialOrd for CompressionAlgorithm
impl PartialOrd for CompressionAlgorithm
Source§impl Serialize for CompressionAlgorithm
impl Serialize for CompressionAlgorithm
impl Copy for CompressionAlgorithm
impl Eq for CompressionAlgorithm
impl StructuralPartialEq for CompressionAlgorithm
Auto Trait Implementations§
impl Freeze for CompressionAlgorithm
impl RefUnwindSafe for CompressionAlgorithm
impl Send for CompressionAlgorithm
impl Sync for CompressionAlgorithm
impl Unpin for CompressionAlgorithm
impl UnwindSafe for CompressionAlgorithm
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