pub struct DocumentBlockBuilder(/* private fields */);Expand description
Builder for DocumentBlock.
Implementations§
Source§impl DocumentBlockBuilder
impl DocumentBlockBuilder
pub fn cache_control(self, value: impl Into<CacheControl>) -> Self
pub fn citations(self, value: impl Into<CitationsConfig>) -> Self
pub fn context(self, value: impl Into<String>) -> Self
pub fn title(self, value: impl Into<String>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> DocumentBlock
pub fn build(self) -> DocumentBlock
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for DocumentBlockBuilder
impl RefUnwindSafe for DocumentBlockBuilder
impl Send for DocumentBlockBuilder
impl Sync for DocumentBlockBuilder
impl Unpin for DocumentBlockBuilder
impl UnsafeUnpin for DocumentBlockBuilder
impl UnwindSafe for DocumentBlockBuilder
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