pub struct PearRepository {
pub type: PearRepositoryType,
pub url: String,
pub canonical: Option<bool>,
pub exclude: Vec<String>,
pub only: Vec<String>,
pub vendor_alias: Option<String>,
}Fields§
§type: PearRepositoryType§url: String§canonical: Option<bool>§exclude: Vec<String>§only: Vec<String>§vendor_alias: Option<String>Trait Implementations§
Source§impl Clone for PearRepository
impl Clone for PearRepository
Source§fn clone(&self) -> PearRepository
fn clone(&self) -> PearRepository
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PearRepository
impl Debug for PearRepository
Source§impl<'de> Deserialize<'de> for PearRepository
impl<'de> Deserialize<'de> for PearRepository
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
Auto Trait Implementations§
impl Freeze for PearRepository
impl RefUnwindSafe for PearRepository
impl Send for PearRepository
impl Sync for PearRepository
impl Unpin for PearRepository
impl UnsafeUnpin for PearRepository
impl UnwindSafe for PearRepository
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