pub struct SerialBuilder<P = ()> { /* private fields */ }Implementations§
Source§impl SerialBuilder
impl SerialBuilder
pub fn new() -> SerialBuilder
pub fn with_page(page: u32, per_page: u32) -> SerialBuilder
pub fn build(self) -> SerialParams
Source§impl<P> SerialBuilder<P>
impl<P> SerialBuilder<P>
pub fn with_parent(parent: P) -> SerialBuilder<P>
pub fn page(self, page: u32, per_page: u32) -> SerialBuilder<P>
pub fn done(self) -> Pwhere
P: HasParams,
Trait Implementations§
Source§impl Debug for SerialBuilder
impl Debug for SerialBuilder
Source§impl Default for SerialBuilder
impl Default for SerialBuilder
Source§fn default() -> SerialBuilder
fn default() -> SerialBuilder
Returns the “default value” for a type. Read more
Source§impl IntoParams for SerialBuilder
impl IntoParams for SerialBuilder
fn into_params(self) -> Params
Auto Trait Implementations§
impl<P> Freeze for SerialBuilder<P>where
P: Freeze,
impl<P> RefUnwindSafe for SerialBuilder<P>where
P: RefUnwindSafe,
impl<P> Send for SerialBuilder<P>where
P: Send,
impl<P> Sync for SerialBuilder<P>where
P: Sync,
impl<P> Unpin for SerialBuilder<P>where
P: Unpin,
impl<P> UnwindSafe for SerialBuilder<P>where
P: UnwindSafe,
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