Enum octorust::types::ReposAddAppAccessRestrictionsRequestOneOf [−][src]
pub enum ReposAddAppAccessRestrictionsRequestOneOf { ReposAddAppAccessRestrictionsRequest(ReposAddAppAccessRestrictionsRequest), StringVector(Vec<String>), }
Expand description
One of the following types:
ReposAddAppAccessRestrictionsRequest
Vec<String>
You can easily convert this enum to the inner value with From
and Into
, as both are implemented for each type.
Variants
ReposAddAppAccessRestrictionsRequest(ReposAddAppAccessRestrictionsRequest)
Implementations
pub fn repos_add_app_access_restrictions_request(
&self
) -> Option<&ReposAddAppAccessRestrictionsRequest>
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