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