pub struct PubSubInputConfig { /* private fields */ }
Implementations§
Source§impl PubSubInputConfig
impl PubSubInputConfig
pub fn connect_timeout_seconds<T>(self, value: T) -> Self
pub fn credentials<T>(self, value: T) -> Self
pub fn emulator<T>(self, value: T) -> Self
pub fn endpoint<T>(self, value: T) -> Self
pub fn pool_size<T>(self, value: T) -> Self
pub fn project_id<T>(self, value: T) -> Self
pub fn snapshot<T>(self, value: T) -> Self
pub fn subscription<T>(self, value: T) -> Self
pub fn timeout_seconds<T>(self, value: T) -> Self
pub fn timestamp<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for PubSubInputConfig
impl Clone for PubSubInputConfig
Source§fn clone(&self) -> PubSubInputConfig
fn clone(&self) -> PubSubInputConfig
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 PubSubInputConfig
impl Debug for PubSubInputConfig
Source§impl Default for PubSubInputConfig
impl Default for PubSubInputConfig
Source§impl From<PubSubInputConfig> for PubSubInputConfig
impl From<PubSubInputConfig> for PubSubInputConfig
Source§fn from(value: PubSubInputConfig) -> Self
fn from(value: PubSubInputConfig) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PubSubInputConfig> for PubSubInputConfig
impl TryFrom<PubSubInputConfig> for PubSubInputConfig
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PubSubInputConfig) -> Result<Self, ConversionError>
fn try_from(value: PubSubInputConfig) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PubSubInputConfig
impl RefUnwindSafe for PubSubInputConfig
impl Send for PubSubInputConfig
impl Sync for PubSubInputConfig
impl Unpin for PubSubInputConfig
impl UnwindSafe for PubSubInputConfig
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