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