#[non_exhaustive]pub struct LookupStreamObjectRequest {
pub parent: String,
pub source_object_identifier: Option<SourceObjectIdentifier>,
/* private fields */
}
Expand description
Request for looking up a specific stream object by its source object identifier.
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: String
Required. The parent stream that owns the collection of objects.
source_object_identifier: Option<SourceObjectIdentifier>
Required. The source object identifier which maps to the stream object.
Implementations§
Source§impl LookupStreamObjectRequest
impl LookupStreamObjectRequest
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_source_object_identifier<T>(self, v: T) -> Selfwhere
T: Into<SourceObjectIdentifier>,
pub fn set_source_object_identifier<T>(self, v: T) -> Selfwhere
T: Into<SourceObjectIdentifier>,
Sets the value of source_object_identifier.
Sourcepub fn set_or_clear_source_object_identifier<T>(self, v: Option<T>) -> Selfwhere
T: Into<SourceObjectIdentifier>,
pub fn set_or_clear_source_object_identifier<T>(self, v: Option<T>) -> Selfwhere
T: Into<SourceObjectIdentifier>,
Sets or clears the value of source_object_identifier.
Trait Implementations§
Source§impl Clone for LookupStreamObjectRequest
impl Clone for LookupStreamObjectRequest
Source§fn clone(&self) -> LookupStreamObjectRequest
fn clone(&self) -> LookupStreamObjectRequest
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 LookupStreamObjectRequest
impl Debug for LookupStreamObjectRequest
Source§impl Default for LookupStreamObjectRequest
impl Default for LookupStreamObjectRequest
Source§fn default() -> LookupStreamObjectRequest
fn default() -> LookupStreamObjectRequest
Returns the “default value” for a type. Read more
Source§impl Message for LookupStreamObjectRequest
impl Message for LookupStreamObjectRequest
impl StructuralPartialEq for LookupStreamObjectRequest
Auto Trait Implementations§
impl Freeze for LookupStreamObjectRequest
impl RefUnwindSafe for LookupStreamObjectRequest
impl Send for LookupStreamObjectRequest
impl Sync for LookupStreamObjectRequest
impl Unpin for LookupStreamObjectRequest
impl UnwindSafe for LookupStreamObjectRequest
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