pub struct AiAccessCheck {
pub resource_id: String,
pub model_id: String,
pub result: AiAccessCheckResult,
pub detail: Option<String>,
pub tested_at: DateTime<Utc>,
}Expand description
The setup-time answer for one declared model.
Fields§
§resource_id: StringThe AI resource that declares the model.
model_id: StringThe model id as the app uses it.
result: AiAccessCheckResultverified, refused (the cloud refused the model) or not-checked.
detail: Option<String>The cloud’s error code or the reason the check could not run.
tested_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for AiAccessCheck
impl Clone for AiAccessCheck
Source§impl Debug for AiAccessCheck
impl Debug for AiAccessCheck
Source§impl<'de> Deserialize<'de> for AiAccessCheck
impl<'de> Deserialize<'de> for AiAccessCheck
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 Eq for AiAccessCheck
Source§impl PartialEq for AiAccessCheck
impl PartialEq for AiAccessCheck
Source§impl Serialize for AiAccessCheck
impl Serialize for AiAccessCheck
impl StructuralPartialEq for AiAccessCheck
Auto Trait Implementations§
impl Forget for AiAccessCheck
impl Freeze for AiAccessCheck
impl Move for AiAccessCheck
impl RefUnwindSafe for AiAccessCheck
impl Send for AiAccessCheck
impl Sync for AiAccessCheck
impl Unpin for AiAccessCheck
impl UnsafeUnpin for AiAccessCheck
impl UnwindSafe for AiAccessCheck
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.