pub struct Control {
pub oid: String,
pub critical: bool,
pub value: Option<Vec<u8>>,
}Expand description
A request or response control (RFC 4511 §4.1.11).
The value stays as raw octets: every control defines its own encoding, and this package has no business guessing at one it was not told about.
Fields§
§oid: String§critical: boolWhen true, a directory that does not implement the control must refuse the whole operation rather than quietly ignoring it.
value: Option<Vec<u8>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnsafeUnpin for Control
impl UnwindSafe for Control
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