pub struct UserSearchResult {
pub principal: String,
pub full_name: Option<String>,
pub group: bool,
}Expand description
When searching for users, the search results in some additional information.
This object describes the additional information.
§How to access
UserDirectory::retrieve_user_groups()
Fields§
§principal: StringLogin name of a user or the name of a group.
This key is the user within the searched domain.
full_name: Option<String>Full name of the user found by the search, or the description of a group, if available.
group: boolIf this is true, then the result is a group.
If this is false, then the result is a user.
Trait Implementations§
Source§impl Debug for UserSearchResult
impl Debug for UserSearchResult
Source§impl Deserialize for UserSearchResult
impl Deserialize for UserSearchResult
Source§impl UserSearchResultTrait for UserSearchResult
impl UserSearchResultTrait for UserSearchResult
Source§fn get_user_search_result(&self) -> &UserSearchResult
fn get_user_search_result(&self) -> &UserSearchResult
Get a reference to the UserSearchResult parent struct
Source§fn get_user_search_result_mut(&mut self) -> &mut UserSearchResult
fn get_user_search_result_mut(&mut self) -> &mut UserSearchResult
Get a mutable reference to the UserSearchResult parent struct
Source§impl VimObjectTrait for UserSearchResult
impl VimObjectTrait for UserSearchResult
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for UserSearchResult
Auto Trait Implementations§
impl Freeze for UserSearchResult
impl RefUnwindSafe for UserSearchResult
impl Send for UserSearchResult
impl Sync for UserSearchResult
impl Unpin for UserSearchResult
impl UnsafeUnpin for UserSearchResult
impl UnwindSafe for UserSearchResult
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