pub struct NotificationEndpointGrpcSettings {
pub authority: Option<String>,
pub endpoint: Option<String>,
pub payload_name: Option<String>,
pub resend_interval: Option<Duration>,
pub retry_duration_sec: Option<u32>,
}
Expand description
Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint.
This type is not used in any activity, and only used as part of another schema.
Fields§
Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3
endpoint: Option<String>
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
payload_name: Option<String>
Optional. If specified, this field is used to populate the “name” field in gRPC requests.
resend_interval: Option<Duration>
Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
retry_duration_sec: Option<u32>
How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.
Trait Implementations§
Source§impl Clone for NotificationEndpointGrpcSettings
impl Clone for NotificationEndpointGrpcSettings
Source§fn clone(&self) -> NotificationEndpointGrpcSettings
fn clone(&self) -> NotificationEndpointGrpcSettings
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for NotificationEndpointGrpcSettings
impl Default for NotificationEndpointGrpcSettings
Source§fn default() -> NotificationEndpointGrpcSettings
fn default() -> NotificationEndpointGrpcSettings
Source§impl<'de> Deserialize<'de> for NotificationEndpointGrpcSettings
impl<'de> Deserialize<'de> for NotificationEndpointGrpcSettings
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>,
impl Part for NotificationEndpointGrpcSettings
Auto Trait Implementations§
impl Freeze for NotificationEndpointGrpcSettings
impl RefUnwindSafe for NotificationEndpointGrpcSettings
impl Send for NotificationEndpointGrpcSettings
impl Sync for NotificationEndpointGrpcSettings
impl Unpin for NotificationEndpointGrpcSettings
impl UnwindSafe for NotificationEndpointGrpcSettings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more