pub struct UrlMetadataBuilder(/* private fields */);Expand description
Builder for UrlMetadata.
Implementations§
Source§impl UrlMetadataBuilder
impl UrlMetadataBuilder
pub fn retrieved_url(self, value: impl Into<String>) -> Self
pub fn url_retrieval_status(self, value: impl Into<UrlRetrievalStatus>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> UrlMetadata
pub fn build(self) -> UrlMetadata
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for UrlMetadataBuilder
impl RefUnwindSafe for UrlMetadataBuilder
impl Send for UrlMetadataBuilder
impl Sync for UrlMetadataBuilder
impl Unpin for UrlMetadataBuilder
impl UnsafeUnpin for UrlMetadataBuilder
impl UnwindSafe for UrlMetadataBuilder
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