pub struct CheckInfo {
pub api_key_uid: Option<String>,
pub consumer_info: Option<ConsumerInfo>,
pub ignore_api_key_uid_as_credential_id: Option<bool>,
pub unused_arguments: Option<Vec<String>>,
}Expand description
Contains additional information about the check operation.
This type is not used in any activity, and only used as part of another schema.
Fields§
§api_key_uid: Option<String>The unique id of the api key in the format of “apikey:”. This field will be populated when the consumer passed to Chemist is an API key and all the API key related validations are successful.
consumer_info: Option<ConsumerInfo>Consumer info of this check.
ignore_api_key_uid_as_credential_id: Option<bool>Whether or not the api key should be ignored in the credential_id during reporting.
unused_arguments: Option<Vec<String>>A list of fields and label keys that are ignored by the server. The client doesn’t need to send them for following requests to improve performance and allow better aggregation.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CheckInfo
impl<'de> Deserialize<'de> for CheckInfo
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
impl Part for CheckInfo
Auto Trait Implementations§
impl Freeze for CheckInfo
impl RefUnwindSafe for CheckInfo
impl Send for CheckInfo
impl Sync for CheckInfo
impl Unpin for CheckInfo
impl UnwindSafe for CheckInfo
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