pub struct ReservationConfig {
pub throughput_reservation: Option<String>,
}Expand description
The settings for this topic’s Reservation usage.
This type is not used in any activity, and only used as part of another schema.
Fields§
§throughput_reservation: Option<String>The Reservation to use for this topic’s throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
Trait Implementations§
Source§impl Clone for ReservationConfig
impl Clone for ReservationConfig
Source§fn clone(&self) -> ReservationConfig
fn clone(&self) -> ReservationConfig
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 ReservationConfig
impl Debug for ReservationConfig
Source§impl Default for ReservationConfig
impl Default for ReservationConfig
Source§fn default() -> ReservationConfig
fn default() -> ReservationConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReservationConfig
impl<'de> Deserialize<'de> for ReservationConfig
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
Source§impl Serialize for ReservationConfig
impl Serialize for ReservationConfig
impl Part for ReservationConfig
Auto Trait Implementations§
impl Freeze for ReservationConfig
impl RefUnwindSafe for ReservationConfig
impl Send for ReservationConfig
impl Sync for ReservationConfig
impl Unpin for ReservationConfig
impl UnwindSafe for ReservationConfig
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