#[non_exhaustive]pub struct AclInfo {
pub readers: Vec<AccessRestriction>,
/* private fields */
}Available on crate features
conversational-search-service or document-service or recommendation-service or search-service only.Expand description
ACL Information of the Document.
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.readers: Vec<AccessRestriction>Readers of the document.
Implementations§
Trait Implementations§
impl StructuralPartialEq for AclInfo
Auto Trait Implementations§
impl Freeze for AclInfo
impl RefUnwindSafe for AclInfo
impl Send for AclInfo
impl Sync for AclInfo
impl Unpin for AclInfo
impl UnwindSafe for AclInfo
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