Struct ldap3::controls::PagedResults
source · pub struct PagedResults {
pub size: i32,
pub cookie: Vec<u8>,
}
Expand description
Paged Results control (RFC 2696).
This struct can be used both for requests and responses, although size
means different things in each case.
Fields§
§size: i32
For requests, desired page size. For responses, a server’s estimate of the result set size, if non-zero.
Paging cookie.
Trait Implementations§
source§impl Clone for PagedResults
impl Clone for PagedResults
source§fn clone(&self) -> PagedResults
fn clone(&self) -> PagedResults
Returns a copy 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 ControlParser for PagedResults
impl ControlParser for PagedResults
source§fn parse(val: &[u8]) -> PagedResults
fn parse(val: &[u8]) -> PagedResults
Convert the raw BER value into a control-specific struct.
source§impl Debug for PagedResults
impl Debug for PagedResults
source§impl From<PagedResults> for RawControl
impl From<PagedResults> for RawControl
source§fn from(pr: PagedResults) -> RawControl
fn from(pr: PagedResults) -> RawControl
Converts to this type from the input type.
source§impl MakeCritical for PagedResults
impl MakeCritical for PagedResults
source§fn critical(self) -> CriticalControl<Self>where
Self: Sized,
fn critical(self) -> CriticalControl<Self>where Self: Sized,
Mark the control instance as critical. This operation consumes the control,
and is irreversible.
Auto Trait Implementations§
impl RefUnwindSafe for PagedResults
impl Send for PagedResults
impl Sync for PagedResults
impl Unpin for PagedResults
impl UnwindSafe for PagedResults
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