#[non_exhaustive]pub struct EntryReference {
pub name: String,
pub path: String,
pub type: Type,
/* private fields */
}Expand description
Reference to the Entry that is linked through the Entry Link.
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. Immutable. The relative resource name of the referenced Entry,
of the form:
projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}
path: StringImmutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link.
type: TypeRequired. Immutable. The reference type of the Entry.
Implementations§
Trait Implementations§
Source§impl Clone for EntryReference
impl Clone for EntryReference
Source§fn clone(&self) -> EntryReference
fn clone(&self) -> EntryReference
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 EntryReference
impl Debug for EntryReference
Source§impl Default for EntryReference
impl Default for EntryReference
Source§fn default() -> EntryReference
fn default() -> EntryReference
Returns the “default value” for a type. Read more
Source§impl Message for EntryReference
impl Message for EntryReference
Source§impl PartialEq for EntryReference
impl PartialEq for EntryReference
impl StructuralPartialEq for EntryReference
Auto Trait Implementations§
impl Freeze for EntryReference
impl RefUnwindSafe for EntryReference
impl Send for EntryReference
impl Sync for EntryReference
impl Unpin for EntryReference
impl UnsafeUnpin for EntryReference
impl UnwindSafe for EntryReference
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