pub struct DataProviderResult {
pub client_providers: Option<Value>,
pub data: Option<Value>,
pub exceptions: Option<Value>,
pub resolved_providers: Vec<ResolvedDataProvider>,
pub scope_name: Option<String>,
pub scope_value: Option<String>,
pub shared_data: Option<Value>,
}Expand description
Result structure from calls to GetDataProviderData
Fields§
§client_providers: Option<Value>This is the set of data providers that were requested, but either they were defined as client providers, or as remote providers that failed and may be retried by the client.
data: Option<Value>Property bag of data keyed off of the data provider contribution id
exceptions: Option<Value>Set of exceptions that occurred resolving the data providers.
resolved_providers: Vec<ResolvedDataProvider>List of data providers resolved in the data-provider query
scope_name: Option<String>Scope name applied to this data provider result.
scope_value: Option<String>Scope value applied to this data provider result.
Property bag of shared data that was contributed to by any of the individual data providers
Implementations§
Trait Implementations§
Source§impl Clone for DataProviderResult
impl Clone for DataProviderResult
Source§fn clone(&self) -> DataProviderResult
fn clone(&self) -> DataProviderResult
Returns a copy 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 Debug for DataProviderResult
impl Debug for DataProviderResult
Source§impl Default for DataProviderResult
impl Default for DataProviderResult
Source§fn default() -> DataProviderResult
fn default() -> DataProviderResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DataProviderResult
impl<'de> Deserialize<'de> for DataProviderResult
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 PartialEq for DataProviderResult
impl PartialEq for DataProviderResult
Source§impl Serialize for DataProviderResult
impl Serialize for DataProviderResult
impl StructuralPartialEq for DataProviderResult
Auto Trait Implementations§
impl Freeze for DataProviderResult
impl RefUnwindSafe for DataProviderResult
impl Send for DataProviderResult
impl Sync for DataProviderResult
impl Unpin for DataProviderResult
impl UnwindSafe for DataProviderResult
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