#[non_exhaustive]pub struct FaceInfo {
pub name: String,
pub description: String,
pub bindings: Vec<String>,
}Expand description
One entry of GET /api/v1/faces.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe face name, used in the path of crate::Client::project_face.
description: StringThe target standard.
bindings: Vec<String>Binding keys the face accepts; any other is refused.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FaceInfo
impl<'de> Deserialize<'de> for FaceInfo
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 FaceInfo
impl StructuralPartialEq for FaceInfo
Auto Trait Implementations§
impl Freeze for FaceInfo
impl RefUnwindSafe for FaceInfo
impl Send for FaceInfo
impl Sync for FaceInfo
impl Unpin for FaceInfo
impl UnsafeUnpin for FaceInfo
impl UnwindSafe for FaceInfo
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