pub struct SpecRoot {
pub owner: String,
pub dir: String,
pub tier: Tier,
pub pending: bool,
pub ty: Option<String>,
pub former: bool,
}Expand description
A spec directory that holds documents.
Fields§
§owner: String§dir: StringRelative to the repository root.
tier: Tier§pending: boolThe owner is not imported yet: its typed documents are read, its old layout is not.
ty: Option<String>The one type whose documents this directory holds directly ([types.<name>] dir); none
for a spec directory, which holds a subdirectory per type.
former: boolA type directory the working spec.toml dropped while HEAD’s still has it: its documents
are read only so that S3 can name them and spec mv can take them over.
Trait Implementations§
Auto Trait Implementations§
impl Forget for SpecRoot
impl Freeze for SpecRoot
impl Move for SpecRoot
impl RefUnwindSafe for SpecRoot
impl Send for SpecRootwhere
RawVecInner: Send,
impl Sync for SpecRootwhere
RawVecInner: Sync,
impl Unpin for SpecRoot
impl UnsafeUnpin for SpecRoot
impl UnwindSafe for SpecRootwhere
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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