pub struct CommentPolicy {
pub per_member: CommentRule,
pub archive: CommentRule,
}Expand description
Which comments the reader accepts in member and end records.
Fields§
§per_member: CommentRuleComments in central directory entries. Defaults to CommentRule::Reject.
archive: CommentRuleComment in the end record. Defaults to CommentRule::AllowAscii.
Trait Implementations§
Source§impl Clone for CommentPolicy
impl Clone for CommentPolicy
Source§fn clone(&self) -> CommentPolicy
fn clone(&self) -> CommentPolicy
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 CommentPolicy
Source§impl Debug for CommentPolicy
impl Debug for CommentPolicy
Source§impl Default for CommentPolicy
impl Default for CommentPolicy
Source§fn default() -> CommentPolicy
fn default() -> CommentPolicy
Returns the “default value” for a type. Read more
impl Eq for CommentPolicy
Source§impl PartialEq for CommentPolicy
impl PartialEq for CommentPolicy
impl StructuralPartialEq for CommentPolicy
Auto Trait Implementations§
impl Forget for CommentPolicy
impl Freeze for CommentPolicy
impl Move for CommentPolicy
impl RefUnwindSafe for CommentPolicy
impl Send for CommentPolicy
impl Sync for CommentPolicy
impl Unpin for CommentPolicy
impl UnsafeUnpin for CommentPolicy
impl UnwindSafe for CommentPolicy
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