pub struct Mapping {
pub spec: PathBuf,
pub public: Option<String>,
}Expand description
A repository mapped to a private spec root.
Fields§
§spec: PathBufThe private directory holding the documents and its spec.toml.
public: Option<String>The public key of the entry, as written.
Auto Trait Implementations§
impl Forget for Mapping
impl Freeze for Mapping
impl Move for Mapping
impl RefUnwindSafe for Mapping
impl Send for Mappingwhere
RawVecInner: Send,
impl Sync for Mappingwhere
RawVecInner: Sync,
impl Unpin for Mapping
impl UnsafeUnpin for Mapping
impl UnwindSafe for Mappingwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more