#[non_exhaustive]pub struct DeployedIndexRef {
pub index_endpoint: String,
pub deployed_index_id: String,
pub display_name: String,
/* private fields */
}Available on crate feature
index-service only.Expand description
Points to a DeployedIndex.
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.index_endpoint: StringImmutable. A resource name of the IndexEndpoint.
deployed_index_id: StringImmutable. The ID of the DeployedIndex in the above IndexEndpoint.
display_name: StringOutput only. The display name of the DeployedIndex.
Implementations§
Source§impl DeployedIndexRef
impl DeployedIndexRef
pub fn new() -> Self
Sourcepub fn set_index_endpoint<T: Into<String>>(self, v: T) -> Self
pub fn set_index_endpoint<T: Into<String>>(self, v: T) -> Self
Sets the value of index_endpoint.
§Example
ⓘ
let x = DeployedIndexRef::new().set_index_endpoint("example");Sourcepub fn set_deployed_index_id<T: Into<String>>(self, v: T) -> Self
pub fn set_deployed_index_id<T: Into<String>>(self, v: T) -> Self
Sets the value of deployed_index_id.
§Example
ⓘ
let x = DeployedIndexRef::new().set_deployed_index_id("example");Sourcepub fn set_display_name<T: Into<String>>(self, v: T) -> Self
pub fn set_display_name<T: Into<String>>(self, v: T) -> Self
Sets the value of display_name.
§Example
ⓘ
let x = DeployedIndexRef::new().set_display_name("example");Trait Implementations§
Source§impl Clone for DeployedIndexRef
impl Clone for DeployedIndexRef
Source§fn clone(&self) -> DeployedIndexRef
fn clone(&self) -> DeployedIndexRef
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 DeployedIndexRef
impl Debug for DeployedIndexRef
Source§impl Default for DeployedIndexRef
impl Default for DeployedIndexRef
Source§fn default() -> DeployedIndexRef
fn default() -> DeployedIndexRef
Returns the “default value” for a type. Read more
Source§impl Message for DeployedIndexRef
impl Message for DeployedIndexRef
Source§impl PartialEq for DeployedIndexRef
impl PartialEq for DeployedIndexRef
impl StructuralPartialEq for DeployedIndexRef
Auto Trait Implementations§
impl Freeze for DeployedIndexRef
impl RefUnwindSafe for DeployedIndexRef
impl Send for DeployedIndexRef
impl Sync for DeployedIndexRef
impl Unpin for DeployedIndexRef
impl UnwindSafe for DeployedIndexRef
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