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