pub struct AvroDecoderOptions {
pub max_size: Option<usize>,
}Expand description
Options for configuring Avro decoding.
Fields§
§max_size: Option<usize>Maximum size of a single message in bytes.
Trait Implementations§
Source§impl Clone for AvroDecoderOptions
impl Clone for AvroDecoderOptions
Source§fn clone(&self) -> AvroDecoderOptions
fn clone(&self) -> AvroDecoderOptions
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 AvroDecoderOptions
impl Debug for AvroDecoderOptions
Source§impl DecoderConfig for AvroDecoderOptions
impl DecoderConfig for AvroDecoderOptions
Source§impl Default for AvroDecoderOptions
impl Default for AvroDecoderOptions
Source§impl<'de> Deserialize<'de> for AvroDecoderOptions
impl<'de> Deserialize<'de> for AvroDecoderOptions
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 PartialEq for AvroDecoderOptions
impl PartialEq for AvroDecoderOptions
Source§impl Serialize for AvroDecoderOptions
impl Serialize for AvroDecoderOptions
impl StructuralPartialEq for AvroDecoderOptions
Auto Trait Implementations§
impl Freeze for AvroDecoderOptions
impl RefUnwindSafe for AvroDecoderOptions
impl Send for AvroDecoderOptions
impl Sync for AvroDecoderOptions
impl Unpin for AvroDecoderOptions
impl UnsafeUnpin for AvroDecoderOptions
impl UnwindSafe for AvroDecoderOptions
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