Struct debian_control::lossy::Source

source ·
pub struct Source {
Show 16 fields pub name: String, pub build_depends: Option<Relations>, pub build_depends_indep: Option<Relations>, pub build_depends_arch: Option<Relations>, pub build_conflicts: Option<Relations>, pub build_conflicts_indep: Option<Relations>, pub build_conflicts_arch: Option<Relations>, pub standards_version: Option<String>, pub homepage: Option<Url>, pub section: Option<String>, pub priority: Option<Priority>, pub maintainer: Option<String>, pub uploaders: Option<String>, pub architecture: Option<String>, pub rules_requires_root: Option<bool>, pub testsuite: Option<String>,
}

Fields§

§name: String§build_depends: Option<Relations>§build_depends_indep: Option<Relations>§build_depends_arch: Option<Relations>§build_conflicts: Option<Relations>§build_conflicts_indep: Option<Relations>§build_conflicts_arch: Option<Relations>§standards_version: Option<String>§homepage: Option<Url>§section: Option<String>§priority: Option<Priority>§maintainer: Option<String>§uploaders: Option<String>§architecture: Option<String>§rules_requires_root: Option<bool>§testsuite: Option<String>

Trait Implementations§

source§

impl Default for Source

source§

fn default() -> Source

Returns the “default value” for a type. Read more
source§

impl FromDeb822Paragraph for Source

source§

fn from_paragraph(para: &Paragraph) -> Result<Self, String>

Convert a paragraph to this object.
source§

impl ToDeb822Paragraph for Source

source§

fn to_paragraph(&self) -> Paragraph

Convert this object to a paragraph.
source§

fn update_paragraph(&self, para: &mut Paragraph)

Update the given paragraph with the values from this object.

Auto Trait Implementations§

§

impl Freeze for Source

§

impl RefUnwindSafe for Source

§

impl Send for Source

§

impl Sync for Source

§

impl Unpin for Source

§

impl UnwindSafe for Source

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.