pub struct PickleReadOptions {
pub decode_legacy_strings: bool,
}Expand description
Options controlling Pickle deserialization.
Fields§
§decode_legacy_strings: boolDecode legacy protocol 0-2 STRING opcodes as UTF-8. Default: false.
Trait Implementations§
Source§impl Clone for PickleReadOptions
impl Clone for PickleReadOptions
Source§fn clone(&self) -> PickleReadOptions
fn clone(&self) -> PickleReadOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PickleReadOptions
Source§impl Debug for PickleReadOptions
impl Debug for PickleReadOptions
Source§impl Default for PickleReadOptions
impl Default for PickleReadOptions
Source§fn default() -> PickleReadOptions
fn default() -> PickleReadOptions
Returns the “default value” for a type. Read more
impl Eq for PickleReadOptions
Source§impl PartialEq for PickleReadOptions
impl PartialEq for PickleReadOptions
impl StructuralPartialEq for PickleReadOptions
Auto Trait Implementations§
impl Freeze for PickleReadOptions
impl RefUnwindSafe for PickleReadOptions
impl Send for PickleReadOptions
impl Sync for PickleReadOptions
impl Unpin for PickleReadOptions
impl UnsafeUnpin for PickleReadOptions
impl UnwindSafe for PickleReadOptions
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.