pub struct IdentifierWord {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
Source§impl IdentifierWord
impl IdentifierWord
Sourcepub async fn id(&self) -> Result<Id, DaggerError>
pub async fn id(&self) -> Result<Id, DaggerError>
A unique identifier for this IdentifierWord.
Sourcepub async fn term(&self) -> Result<Option<NamingTerm>, DaggerError>
pub async fn term(&self) -> Result<Option<NamingTerm>, DaggerError>
The dictionary entry this word matched, if any.
Sourcepub async fn text(&self) -> Result<String, DaggerError>
pub async fn text(&self) -> Result<String, DaggerError>
Standard spelling: “client” (WORD), “HTTP” (ACRONYM), “GitHub” (TERM).
Sourcepub async fn suffix(&self) -> Result<String, DaggerError>
pub async fn suffix(&self) -> Result<String, DaggerError>
Trailing digits and/or a plural “s”, in that order: SHA+“s”, OAuth+“2”, HTTP+“2s”.
Sourcepub async fn kind(&self) -> Result<IdentifierWordKind, DaggerError>
pub async fn kind(&self) -> Result<IdentifierWordKind, DaggerError>
The kind of word.
Trait Implementations§
Source§impl Clone for IdentifierWord
impl Clone for IdentifierWord
Source§impl IntoID<Id> for IdentifierWord
impl IntoID<Id> for IdentifierWord
Source§impl Loadable for IdentifierWord
impl Loadable for IdentifierWord
Source§fn graphql_type() -> &'static str
fn graphql_type() -> &'static str
The GraphQL type name (e.g.
"Container").Source§fn from_query(
proc: Option<Arc<DaggerSessionProc>>,
selection: Selection,
graphql_client: DynGraphQLClient,
) -> Self
fn from_query( proc: Option<Arc<DaggerSessionProc>>, selection: Selection, graphql_client: DynGraphQLClient, ) -> Self
Construct this type from a query selection.
Auto Trait Implementations§
impl !RefUnwindSafe for IdentifierWord
impl !UnwindSafe for IdentifierWord
impl Freeze for IdentifierWord
impl Send for IdentifierWord
impl Sync for IdentifierWord
impl Unpin for IdentifierWord
impl UnsafeUnpin for IdentifierWord
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> 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