[−][src]Struct crev_data::proof::review::code::CodeBuilder
Builder for Code.
Methods
impl CodeBuilder[src]
pub fn version(&mut self, value: i64) -> &mut Self[src]
pub fn date(&mut self, value: DateTime<FixedOffset>) -> &mut Self[src]
pub fn from(&mut self, value: PubId) -> &mut Self[src]
pub fn package(&mut self, value: PackageInfo) -> &mut Self[src]
pub fn review(&mut self, value: Review) -> &mut Self[src]
pub fn comment(&mut self, value: String) -> &mut Self[src]
pub fn files(&mut self, value: Vec<File>) -> &mut Self[src]
pub fn build(&self) -> Result<Code, String>[src]
Trait Implementations
impl Default for CodeBuilder[src]
fn default() -> CodeBuilder[src]
impl Clone for CodeBuilder[src]
fn clone(&self) -> CodeBuilder[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for CodeBuilder
impl Unpin for CodeBuilder
impl Sync for CodeBuilder
impl UnwindSafe for CodeBuilder
impl RefUnwindSafe for CodeBuilder
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
impl<T> InitializableFromZeroed for T where
T: Default,
T: Default,