pub struct FaceFieldPresentation {
pub group: &'static str,
pub label: &'static str,
pub role: FaceFieldRole,
pub default: &'static str,
pub help: &'static str,
}Expand description
Static presentation metadata for one registration-face field. 一个注册面字段的静态展示元数据。
Fields§
§group: &'static strThe section heading the field belongs to. 该字段所属的章节标题。
label: &'static strThe human-readable field label. 人类可读的字段标签。
role: FaceFieldRoleHow the field is supplied, shown in the field guide. 字段的提供方式,在字段指南中展示。
default: &'static strThe static fallback shown when no value is derived. 未能推导取值时展示的静态回退值。
help: &'static strOne-line guidance shown for the field. 该字段展示的单行说明。
Trait Implementations§
Source§impl Clone for FaceFieldPresentation
impl Clone for FaceFieldPresentation
Source§fn clone(&self) -> FaceFieldPresentation
fn clone(&self) -> FaceFieldPresentation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FaceFieldPresentation
Auto Trait Implementations§
impl Freeze for FaceFieldPresentation
impl RefUnwindSafe for FaceFieldPresentation
impl Send for FaceFieldPresentation
impl Sync for FaceFieldPresentation
impl Unpin for FaceFieldPresentation
impl UnsafeUnpin for FaceFieldPresentation
impl UnwindSafe for FaceFieldPresentation
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