pub struct PSpec { /* private fields */ }Implementations§
Source§impl PSpec
Auto-generated by derive_getters::Getters.
impl PSpec
Auto-generated by derive_getters::Getters.
Sourcepub fn description(&self) -> &Option<Text>
pub fn description(&self) -> &Option<Text>
Get field description from instance of PSpec.
Sourcepub fn messages(&self) -> &Messages<Bast3StSpec>
pub fn messages(&self) -> &Messages<Bast3StSpec>
Get field messages from instance of PSpec.
Sourcepub fn categories(&self) -> &Vec<PCategory>
pub fn categories(&self) -> &Vec<PCategory>
Get field categories from instance of PSpec.
Sourcepub fn hooks(&self) -> &SpecHooks<Vec<Result<HookResult, HookFailure>>>
pub fn hooks(&self) -> &SpecHooks<Vec<Result<HookResult, HookFailure>>>
Get field hooks from instance of PSpec.
Sourcepub fn notice(&self) -> &Vec<NoticeAction>
pub fn notice(&self) -> &Vec<NoticeAction>
Get field notice from instance of PSpec.
Source§impl PSpec
impl PSpec
pub fn take_notice(&mut self) -> Vec<NoticeAction>
Source§impl PSpec
impl PSpec
pub async fn new<'a, Fallback: SelectableSource + Clone + 'static>( report_builder: ReportBuilder<'a, Fallback, WithSpec>, doc: ProjectDoc, initial_block: Option<Id>, ) -> Result<PSpec, SpecRunError>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PSpec
impl<'de> Deserialize<'de> for PSpec
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
Source§impl PartialOrd for PSpec
impl PartialOrd for PSpec
impl StructuralPartialEq for PSpec
Auto Trait Implementations§
impl Freeze for PSpec
impl RefUnwindSafe for PSpec
impl Send for PSpec
impl Sync for PSpec
impl Unpin for PSpec
impl UnsafeUnpin for PSpec
impl UnwindSafe for PSpec
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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