pub struct GetResourceContentBuilder { /* private fields */ }Expand description
Builder for GetResourceContent.
Implementations§
Source§impl GetResourceContentBuilder
impl GetResourceContentBuilder
Sourcepub fn frame_id<VALUE: Into<FrameId>>(&mut self, value: VALUE) -> &mut Self
pub fn frame_id<VALUE: Into<FrameId>>(&mut self, value: VALUE) -> &mut Self
Frame id to get resource for.
Sourcepub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
URL of the resource to get content for.
Sourcepub fn build(
&self,
) -> Result<GetResourceContent, GetResourceContentBuilderError>
pub fn build( &self, ) -> Result<GetResourceContent, GetResourceContentBuilderError>
Trait Implementations§
Source§impl Clone for GetResourceContentBuilder
impl Clone for GetResourceContentBuilder
Source§fn clone(&self) -> GetResourceContentBuilder
fn clone(&self) -> GetResourceContentBuilder
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 GetResourceContentBuilder
impl RefUnwindSafe for GetResourceContentBuilder
impl Send for GetResourceContentBuilder
impl Sync for GetResourceContentBuilder
impl Unpin for GetResourceContentBuilder
impl UnsafeUnpin for GetResourceContentBuilder
impl UnwindSafe for GetResourceContentBuilder
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