Struct octorust::types::InteractionLimitResponse [−][src]
pub struct InteractionLimitResponse {
pub expires_at: DateTime<Utc>,
pub limit: InteractionGroup,
pub origin: String,
}Expand description
Interaction limit settings.
Fields
expires_at: DateTime<Utc>limit: InteractionGroupThe type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect. Can be one of: existing_users, contributors_only, collaborators_only.
origin: StringTrait 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
Auto Trait Implementations
impl RefUnwindSafe for InteractionLimitResponseimpl Send for InteractionLimitResponseimpl Sync for InteractionLimitResponseimpl Unpin for InteractionLimitResponseimpl UnwindSafe for InteractionLimitResponseBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more