pub struct ComposerRepository { /* private fields */ }Expand description
Composer repository metadata.
Implementations§
Source§impl ComposerRepository
impl ComposerRepository
pub const fn new(kind: ComposerRepositoryKind) -> Self
pub fn with_url(self, url: ComposerRepositoryUrl) -> Self
pub const fn kind(&self) -> ComposerRepositoryKind
pub const fn url(&self) -> Option<&ComposerRepositoryUrl>
Trait Implementations§
Source§impl Clone for ComposerRepository
impl Clone for ComposerRepository
Source§fn clone(&self) -> ComposerRepository
fn clone(&self) -> ComposerRepository
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ComposerRepository
impl Debug for ComposerRepository
Source§impl PartialEq for ComposerRepository
impl PartialEq for ComposerRepository
Source§fn eq(&self, other: &ComposerRepository) -> bool
fn eq(&self, other: &ComposerRepository) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ComposerRepository
impl StructuralPartialEq for ComposerRepository
Auto Trait Implementations§
impl Freeze for ComposerRepository
impl RefUnwindSafe for ComposerRepository
impl Send for ComposerRepository
impl Sync for ComposerRepository
impl Unpin for ComposerRepository
impl UnsafeUnpin for ComposerRepository
impl UnwindSafe for ComposerRepository
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