Struct apt_pkg_native::simple::Origin
[−]
[src]
pub struct Origin {
pub file_name: String,
pub archive: String,
pub version: Option<String>,
pub origin: Option<String>,
pub codename: Option<String>,
pub label: Option<String>,
pub site: Option<String>,
pub component: String,
pub architecture: Option<String>,
pub index_type: String,
}Fields
file_name: String
archive: String
version: Option<String>
origin: Option<String>
codename: Option<String>
label: Option<String>
site: Option<String>
component: String
architecture: Option<String>
index_type: String
Methods
impl Origin[src]
pub fn from_ver_file(view: &VerFileView) -> Option<Self>[src]
pub fn new(view: &PkgFileView) -> Self[src]
Trait Implementations
impl Clone for Origin[src]
fn clone(&self) -> Origin[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Origin[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more