[−][src]Struct crev_data::proof::review::code::Code
Body of a Code Review Proof
Fields
common: Common
package: PackageInfo
review: Review
comment: String
files: Vec<File>
Methods
impl Code
[src]
Trait Implementations
impl Clone for Code
[src]
impl CommonOps for Code
[src]
fn common(&self) -> &Common
[src]
fn kind(&self) -> &str
[src]
fn from(&self) -> &PubId
[src]
fn date(&self) -> &DateTime<FixedOffset>
[src]
fn date_utc(&self) -> DateTime<Utc>
[src]
fn author_id(&self) -> &Id
[src]
fn author_pub_id(&self) -> &PubId
[src]
fn ensure_kind_is(&self, kind: &str) -> Result<()>
[src]
impl Content for Code
[src]
fn validate_data(&self) -> Result<()>
[src]
fn serialize_to(&self, fmt: &mut dyn Write) -> Result<()>
[src]
impl ContentWithDraft for Code
[src]
impl Debug for Code
[src]
impl<'de> Deserialize<'de> for Code
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for Code
[src]
impl From<Code> for Draft
[src]
impl Serialize for Code
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl WithReview for Code
[src]
Auto Trait Implementations
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> ContentDeserialize for T where
T: DeserializeOwned + Content,
[src]
T: DeserializeOwned + Content,
fn deserialize_from<IO>(IO) -> Result<T, Error> where
IO: Read,
[src]
IO: Read,
impl<T> ContentExt for T where
T: Content,
[src]
T: Content,
fn serialize(&self) -> Result<String>
[src]
fn sign_by(&self, id: &OwnId) -> Result<Proof>
[src]
fn ensure_serializes_to_valid_proof(&self) -> Result<()>
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,