#[non_exhaustive]pub struct GetEntryRequest {
pub name: String,
pub view: EntryView,
pub aspect_types: Vec<String>,
pub paths: Vec<String>,
/* private fields */
}Expand description
Get Entry request.
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 resource name of the Entry:
projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.
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.
Implementations§
Source§impl GetEntryRequest
impl GetEntryRequest
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 GetEntryRequest
impl Clone for GetEntryRequest
Source§fn clone(&self) -> GetEntryRequest
fn clone(&self) -> GetEntryRequest
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 GetEntryRequest
impl Debug for GetEntryRequest
Source§impl Default for GetEntryRequest
impl Default for GetEntryRequest
Source§fn default() -> GetEntryRequest
fn default() -> GetEntryRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetEntryRequest
impl Message for GetEntryRequest
Source§impl PartialEq for GetEntryRequest
impl PartialEq for GetEntryRequest
impl StructuralPartialEq for GetEntryRequest
Auto Trait Implementations§
impl Freeze for GetEntryRequest
impl RefUnwindSafe for GetEntryRequest
impl Send for GetEntryRequest
impl Sync for GetEntryRequest
impl Unpin for GetEntryRequest
impl UnwindSafe for GetEntryRequest
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