pub struct SourceSpec {
pub origin: String,
pub from: Option<String>,
pub license: Option<String>,
}Fields§
§origin: String§from: Option<String>§license: Option<String>Trait Implementations§
Source§impl Clone for SourceSpec
impl Clone for SourceSpec
Source§fn clone(&self) -> SourceSpec
fn clone(&self) -> SourceSpec
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 SourceSpec
impl Debug for SourceSpec
Source§impl PartialEq for SourceSpec
impl PartialEq for SourceSpec
Source§fn eq(&self, other: &SourceSpec) -> bool
fn eq(&self, other: &SourceSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourceSpec
Auto Trait Implementations§
impl Freeze for SourceSpec
impl RefUnwindSafe for SourceSpec
impl Send for SourceSpec
impl Sync for SourceSpec
impl Unpin for SourceSpec
impl UnsafeUnpin for SourceSpec
impl UnwindSafe for SourceSpec
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