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