pub struct ValuedResource {
pub display_name: Option<String>,
pub exposed_score: Option<f64>,
pub name: Option<String>,
pub resource: Option<String>,
pub resource_type: Option<String>,
pub resource_value: Option<String>,
pub resource_value_configs_used: Option<Vec<ResourceValueConfigMetadata>>,
}Expand description
A resource that is determined to have value to a user’s system
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§display_name: Option<String>Human-readable name of the valued resource.
exposed_score: Option<f64>Exposed score for this valued resource. A value of 0 means no exposure was detected exposure.
name: Option<String>Valued resource name, for example, e.g.: organizations/123/simulations/456/valuedResources/789
resource: Option<String>The full resource name of the valued resource.
resource_type: Option<String>The resource type of the valued resource.
resource_value: Option<String>How valuable this resource is.
resource_value_configs_used: Option<Vec<ResourceValueConfigMetadata>>List of resource value configurations’ metadata used to determine the value of this resource. Maximum of 100.
Trait Implementations§
Source§impl Clone for ValuedResource
impl Clone for ValuedResource
Source§fn clone(&self) -> ValuedResource
fn clone(&self) -> ValuedResource
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 Debug for ValuedResource
impl Debug for ValuedResource
Source§impl Default for ValuedResource
impl Default for ValuedResource
Source§fn default() -> ValuedResource
fn default() -> ValuedResource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ValuedResource
impl<'de> Deserialize<'de> for ValuedResource
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 Serialize for ValuedResource
impl Serialize for ValuedResource
impl ResponseResult for ValuedResource
Auto Trait Implementations§
impl Freeze for ValuedResource
impl RefUnwindSafe for ValuedResource
impl Send for ValuedResource
impl Sync for ValuedResource
impl Unpin for ValuedResource
impl UnwindSafe for ValuedResource
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