pub struct ErrorValue {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}
Fields§
§proc: Option<Arc<DaggerSessionProc>>
§selection: Selection
§graphql_client: DynGraphQLClient
Implementations§
Source§impl ErrorValue
impl ErrorValue
Sourcepub async fn id(&self) -> Result<ErrorValueId, DaggerError>
pub async fn id(&self) -> Result<ErrorValueId, DaggerError>
A unique identifier for this ErrorValue.
Sourcepub async fn name(&self) -> Result<String, DaggerError>
pub async fn name(&self) -> Result<String, DaggerError>
The name of the value.
Sourcepub async fn value(&self) -> Result<Json, DaggerError>
pub async fn value(&self) -> Result<Json, DaggerError>
The value.
Trait Implementations§
Source§impl Clone for ErrorValue
impl Clone for ErrorValue
Source§fn clone(&self) -> ErrorValue
fn clone(&self) -> ErrorValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl IntoID<ErrorValueId> for ErrorValue
impl IntoID<ErrorValueId> for ErrorValue
fn into_id( self, ) -> Pin<Box<dyn Future<Output = Result<ErrorValueId, DaggerError>> + Send>>
Auto Trait Implementations§
impl Freeze for ErrorValue
impl !RefUnwindSafe for ErrorValue
impl Send for ErrorValue
impl Sync for ErrorValue
impl Unpin for ErrorValue
impl !UnwindSafe for ErrorValue
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