pub struct WatchSource {
pub event_source: Option<String>,
pub region: Option<String>,
pub principal_id: Option<String>,
pub host: Option<String>,
pub port: Option<String>,
pub user_agent: Option<String>,
}Expand description
Optional origin metadata supplied by RustFS for an object event.
Fields§
§event_source: Option<String>§region: Option<String>§principal_id: Option<String>§host: Option<String>§port: Option<String>§user_agent: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for WatchSource
impl Clone for WatchSource
Source§fn clone(&self) -> WatchSource
fn clone(&self) -> WatchSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WatchSource
impl Debug for WatchSource
Source§impl Default for WatchSource
impl Default for WatchSource
Source§fn default() -> WatchSource
fn default() -> WatchSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WatchSource
impl<'de> Deserialize<'de> for WatchSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WatchSource
Source§impl PartialEq for WatchSource
impl PartialEq for WatchSource
Source§impl Serialize for WatchSource
impl Serialize for WatchSource
impl StructuralPartialEq for WatchSource
Auto Trait Implementations§
impl Freeze for WatchSource
impl RefUnwindSafe for WatchSource
impl Send for WatchSource
impl Sync for WatchSource
impl Unpin for WatchSource
impl UnsafeUnpin for WatchSource
impl UnwindSafe for WatchSource
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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