pub struct WatchRequest {
pub bucket: Option<String>,
pub events: Vec<String>,
pub prefix: Option<String>,
pub suffix: Option<String>,
pub ping_seconds: u64,
}Expand description
Filters and connection settings for one live notification request.
Fields§
§bucket: Option<String>Optional bucket. None watches the whole alias endpoint.
events: Vec<String>S3 event names sent as repeated events query parameters.
prefix: Option<String>Optional decoded object-key prefix filter.
suffix: Option<String>Optional decoded object-key suffix filter.
ping_seconds: u64RustFS keepalive interval in seconds.
Trait Implementations§
Source§impl Clone for WatchRequest
impl Clone for WatchRequest
Source§fn clone(&self) -> WatchRequest
fn clone(&self) -> WatchRequest
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 WatchRequest
impl Debug for WatchRequest
impl Eq for WatchRequest
Source§impl PartialEq for WatchRequest
impl PartialEq for WatchRequest
impl StructuralPartialEq for WatchRequest
Auto Trait Implementations§
impl Freeze for WatchRequest
impl RefUnwindSafe for WatchRequest
impl Send for WatchRequest
impl Sync for WatchRequest
impl Unpin for WatchRequest
impl UnsafeUnpin for WatchRequest
impl UnwindSafe for WatchRequest
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