pub struct Builder<T>(/* private fields */);Expand description
A builder for RequestLogV1
Implementations§
Source§impl Builder<ProtocolStage>
impl Builder<ProtocolStage>
Source§impl Builder<StatusStage>
impl Builder<StatusStage>
Sourcepub fn status(self, status: i32) -> Builder<RequestSizeStage>
pub fn status(self, status: i32) -> Builder<RequestSizeStage>
Sets the status field.
Source§impl Builder<RequestSizeStage>
impl Builder<RequestSizeStage>
Sourcepub fn request_size(
self,
request_size: impl Into<String>,
) -> Builder<ResponseSizeStage>
pub fn request_size( self, request_size: impl Into<String>, ) -> Builder<ResponseSizeStage>
Sets the request_size field.
Source§impl Builder<ResponseSizeStage>
impl Builder<ResponseSizeStage>
Sourcepub fn response_size(
self,
response_size: impl Into<String>,
) -> Builder<DurationStage>
pub fn response_size( self, response_size: impl Into<String>, ) -> Builder<DurationStage>
Sets the response_size field.
Source§impl Builder<DurationStage>
impl Builder<DurationStage>
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn insert_path_params(
self,
key: impl Into<String>,
value: impl Serialize,
) -> Self
pub fn insert_path_params( self, key: impl Into<String>, value: impl Serialize, ) -> Self
Adds an entry to the path_params field.
Sourcepub fn path_params(
self,
path_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>,
) -> Self
pub fn path_params( self, path_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>, ) -> Self
Sets the path_params field.
Sourcepub fn extend_path_params(
self,
path_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>,
) -> Self
pub fn extend_path_params( self, path_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>, ) -> Self
Adds entries to the path_params field.
Sourcepub fn insert_query_params(
self,
key: impl Into<String>,
value: impl Serialize,
) -> Self
pub fn insert_query_params( self, key: impl Into<String>, value: impl Serialize, ) -> Self
Adds an entry to the query_params field.
Sourcepub fn query_params(
self,
query_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>,
) -> Self
pub fn query_params( self, query_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>, ) -> Self
Sets the query_params field.
Sourcepub fn extend_query_params(
self,
query_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>,
) -> Self
pub fn extend_query_params( self, query_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>, ) -> Self
Adds entries to the query_params field.
Sourcepub fn insert_header_params(
self,
key: impl Into<String>,
value: impl Serialize,
) -> Self
pub fn insert_header_params( self, key: impl Into<String>, value: impl Serialize, ) -> Self
Adds an entry to the header_params field.
Sourcepub fn header_params(
self,
header_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>,
) -> Self
pub fn header_params( self, header_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>, ) -> Self
Sets the header_params field.
Sourcepub fn extend_header_params(
self,
header_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>,
) -> Self
pub fn extend_header_params( self, header_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>, ) -> Self
Adds entries to the header_params field.
Sourcepub fn insert_body_params(
self,
key: impl Into<String>,
value: impl Serialize,
) -> Self
pub fn insert_body_params( self, key: impl Into<String>, value: impl Serialize, ) -> Self
Adds an entry to the body_params field.
Sourcepub fn body_params(
self,
body_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>,
) -> Self
pub fn body_params( self, body_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>, ) -> Self
Sets the body_params field.
Sourcepub fn extend_body_params(
self,
body_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>,
) -> Self
pub fn extend_body_params( self, body_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>, ) -> Self
Adds entries to the body_params field.
Sourcepub fn request_size(self, request_size: impl Into<String>) -> Self
pub fn request_size(self, request_size: impl Into<String>) -> Self
Sets the request_size field.
Sourcepub fn response_size(self, response_size: impl Into<String>) -> Self
pub fn response_size(self, response_size: impl Into<String>) -> Self
Sets the response_size field.
Sourcepub fn org_id(self, org_id: impl Into<Option<OrganizationId>>) -> Self
pub fn org_id(self, org_id: impl Into<Option<OrganizationId>>) -> Self
Sets the org_id field.
Sourcepub fn insert_unsafe_params(
self,
key: impl Into<String>,
value: impl Serialize,
) -> Self
pub fn insert_unsafe_params( self, key: impl Into<String>, value: impl Serialize, ) -> Self
Adds an entry to the unsafe_params field.
Sourcepub fn unsafe_params(
self,
unsafe_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>,
) -> Self
pub fn unsafe_params( self, unsafe_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>, ) -> Self
Sets the unsafe_params field.
Sourcepub fn extend_unsafe_params(
self,
unsafe_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>,
) -> Self
pub fn extend_unsafe_params( self, unsafe_params: impl IntoIterator<Item = (impl Into<String>, impl Serialize)>, ) -> Self
Adds entries to the unsafe_params field.
Sourcepub fn build(self) -> RequestLogV1
pub fn build(self) -> RequestLogV1
Consumes the builder, returning a RequestLogV1.