#[non_exhaustive]pub struct CreateEntryLinkRequest {
pub parent: String,
pub entry_link_id: String,
pub entry_link: Option<EntryLink>,
/* private fields */
}Expand description
Request message for CreateEntryLink.
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.parent: StringRequired. The resource name of the parent Entry Group:
projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}.
entry_link_id: StringRequired. Entry Link identifier
- Must contain only lowercase letters, numbers and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
- Must be unique within the EntryGroup.
entry_link: Option<EntryLink>Required. Entry Link resource.
Implementations§
Source§impl CreateEntryLinkRequest
impl CreateEntryLinkRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_entry_link_id<T: Into<String>>(self, v: T) -> Self
pub fn set_entry_link_id<T: Into<String>>(self, v: T) -> Self
Sets the value of entry_link_id.
Sourcepub fn set_entry_link<T>(self, v: T) -> Self
pub fn set_entry_link<T>(self, v: T) -> Self
Sets the value of entry_link.
Sourcepub fn set_or_clear_entry_link<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_entry_link<T>(self, v: Option<T>) -> Self
Sets or clears the value of entry_link.
Trait Implementations§
Source§impl Clone for CreateEntryLinkRequest
impl Clone for CreateEntryLinkRequest
Source§fn clone(&self) -> CreateEntryLinkRequest
fn clone(&self) -> CreateEntryLinkRequest
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 CreateEntryLinkRequest
impl Debug for CreateEntryLinkRequest
Source§impl Default for CreateEntryLinkRequest
impl Default for CreateEntryLinkRequest
Source§fn default() -> CreateEntryLinkRequest
fn default() -> CreateEntryLinkRequest
Returns the “default value” for a type. Read more
Source§impl Message for CreateEntryLinkRequest
impl Message for CreateEntryLinkRequest
Source§impl PartialEq for CreateEntryLinkRequest
impl PartialEq for CreateEntryLinkRequest
impl StructuralPartialEq for CreateEntryLinkRequest
Auto Trait Implementations§
impl Freeze for CreateEntryLinkRequest
impl RefUnwindSafe for CreateEntryLinkRequest
impl Send for CreateEntryLinkRequest
impl Sync for CreateEntryLinkRequest
impl Unpin for CreateEntryLinkRequest
impl UnwindSafe for CreateEntryLinkRequest
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