Struct gapi_grpc::google::cloud::pubsublite::v1::topic::PartitionConfig[][src]

pub struct PartitionConfig {
    pub count: i64,
    pub dimension: Option<Dimension>,
}
[]

The settings for a topic’s partitions.

Fields

count: i64
[]

The number of partitions in the topic. Must be at least 1.

Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity

dimension: Option<Dimension>
[]

The throughput dimension of this topic.

Trait Implementations

impl Clone for PartitionConfig[src][+]

impl Debug for PartitionConfig[src][+]

impl Default for PartitionConfig[src][+]

impl Message for PartitionConfig[src][+]

impl PartialEq<PartitionConfig> for PartitionConfig[src][+]

impl StructuralPartialEq for PartitionConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for PartitionConfig

impl Send for PartitionConfig

impl Sync for PartitionConfig

impl Unpin for PartitionConfig

impl UnwindSafe for PartitionConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T> Instrument for T[src][+]

impl<T> Instrument for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> IntoRequest<T> for T[src][+]

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src][+]

impl<T> WithSubscriber for T[src][+]