#[non_exhaustive]pub struct LookupEntryRequest {
pub name: String,
pub view: EntryView,
pub aspect_types: Vec<String>,
pub paths: Vec<String>,
pub entry: String,
/* private fields */
}Expand description
Lookup Entry request using permissions in the source system.
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: StringRequired. The project to which the request should be attributed in the
following form: projects/{project}/locations/{location}.
view: EntryViewOptional. View to control which parts of an entry the service should return.
aspect_types: Vec<String>Optional. Limits the aspects returned to the provided aspect types. It only works for CUSTOM view.
paths: Vec<String>Optional. Limits the aspects returned to those associated with the provided paths within the Entry. It only works for CUSTOM view.
entry: StringRequired. The resource name of the Entry:
projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.
Implementations§
Source§impl LookupEntryRequest
impl LookupEntryRequest
pub fn new() -> Self
Sourcepub fn set_aspect_types<T, V>(self, v: T) -> Self
pub fn set_aspect_types<T, V>(self, v: T) -> Self
Sets the value of aspect_types.
Trait Implementations§
Source§impl Clone for LookupEntryRequest
impl Clone for LookupEntryRequest
Source§fn clone(&self) -> LookupEntryRequest
fn clone(&self) -> LookupEntryRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LookupEntryRequest
impl Debug for LookupEntryRequest
Source§impl Default for LookupEntryRequest
impl Default for LookupEntryRequest
Source§fn default() -> LookupEntryRequest
fn default() -> LookupEntryRequest
Returns the “default value” for a type. Read more
Source§impl Message for LookupEntryRequest
impl Message for LookupEntryRequest
Source§impl PartialEq for LookupEntryRequest
impl PartialEq for LookupEntryRequest
impl StructuralPartialEq for LookupEntryRequest
Auto Trait Implementations§
impl Freeze for LookupEntryRequest
impl RefUnwindSafe for LookupEntryRequest
impl Send for LookupEntryRequest
impl Sync for LookupEntryRequest
impl Unpin for LookupEntryRequest
impl UnwindSafe for LookupEntryRequest
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