pub struct StreamResourceContentReturnObjectBuilder { /* private fields */ }Expand description
Builder for StreamResourceContentReturnObject.
Implementations§
Source§impl StreamResourceContentReturnObjectBuilder
impl StreamResourceContentReturnObjectBuilder
Sourcepub fn buffered_data(&mut self, value: String) -> &mut Self
pub fn buffered_data(&mut self, value: String) -> &mut Self
Data that has been buffered until streaming is enabled.
Sourcepub fn build(
&self,
) -> Result<StreamResourceContentReturnObject, StreamResourceContentReturnObjectBuilderError>
pub fn build( &self, ) -> Result<StreamResourceContentReturnObject, StreamResourceContentReturnObjectBuilderError>
Builds a new StreamResourceContentReturnObject.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for StreamResourceContentReturnObjectBuilder
impl Clone for StreamResourceContentReturnObjectBuilder
Source§fn clone(&self) -> StreamResourceContentReturnObjectBuilder
fn clone(&self) -> StreamResourceContentReturnObjectBuilder
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 StreamResourceContentReturnObjectBuilder
impl RefUnwindSafe for StreamResourceContentReturnObjectBuilder
impl Send for StreamResourceContentReturnObjectBuilder
impl Sync for StreamResourceContentReturnObjectBuilder
impl Unpin for StreamResourceContentReturnObjectBuilder
impl UnsafeUnpin for StreamResourceContentReturnObjectBuilder
impl UnwindSafe for StreamResourceContentReturnObjectBuilder
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