#[non_exhaustive]pub struct DebRepo {
pub codename: String,
pub vendor: String,
pub sources: String,
pub keyring: String,
pub req_packages: Vec<String>,
}
Expand description
Debian package repository data.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.codename: String
The distribution codename (e.g. “buster”).
vendor: String
The distribution vendor (“debian”, “ubuntu”, etc.).
sources: String
The APT sources list file to copy to /etc/apt/sources.list.d/.
keyring: String
The GnuPG keyring file to copy to /usr/share/keyrings/.
req_packages: Vec<String>
OS packages that need to be installed before apt-get update
is run.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DebRepo
impl<'de> Deserialize<'de> for DebRepo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DebRepo
impl StructuralPartialEq for DebRepo
Auto Trait Implementations§
impl Freeze for DebRepo
impl RefUnwindSafe for DebRepo
impl Send for DebRepo
impl Sync for DebRepo
impl Unpin for DebRepo
impl UnwindSafe for DebRepo
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