Enum octorust::types::ReposAddStatusCheckContextsRequestOneOf [−][src]
pub enum ReposAddStatusCheckContextsRequestOneOf { ReposAddStatusCheckContextsRequest(ReposAddStatusCheckContextsRequest), StringVector(Vec<String>), }
Expand description
One of the following types:
ReposAddStatusCheckContextsRequest
Vec<String>
You can easily convert this enum to the inner value with From
and Into
, as both are implemented for each type.
Variants
ReposAddStatusCheckContextsRequest(ReposAddStatusCheckContextsRequest)
contexts parameter
Implementations
pub fn repos_add_status_check_contexts_request(
&self
) -> Option<&ReposAddStatusCheckContextsRequest>
Trait Implementations
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
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more