pub struct SetCookieReturnObjectBuilder { /* private fields */ }Expand description
Builder for SetCookieReturnObject.
Implementations§
Source§impl SetCookieReturnObjectBuilder
impl SetCookieReturnObjectBuilder
Sourcepub fn success(&mut self, value: bool) -> &mut Self
pub fn success(&mut self, value: bool) -> &mut Self
Always set to true. If an error occurs, the response indicates protocol error.
Sourcepub fn build(
&self,
) -> Result<SetCookieReturnObject, SetCookieReturnObjectBuilderError>
pub fn build( &self, ) -> Result<SetCookieReturnObject, SetCookieReturnObjectBuilderError>
Trait Implementations§
Source§impl Clone for SetCookieReturnObjectBuilder
impl Clone for SetCookieReturnObjectBuilder
Source§fn clone(&self) -> SetCookieReturnObjectBuilder
fn clone(&self) -> SetCookieReturnObjectBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SetCookieReturnObjectBuilder
impl RefUnwindSafe for SetCookieReturnObjectBuilder
impl Send for SetCookieReturnObjectBuilder
impl Sync for SetCookieReturnObjectBuilder
impl Unpin for SetCookieReturnObjectBuilder
impl UnsafeUnpin for SetCookieReturnObjectBuilder
impl UnwindSafe for SetCookieReturnObjectBuilder
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