pub struct Options {
    pub allow_onelevel: bool,
    pub allow_pattern: bool,
}

Fields

allow_onelevel: bool

If false, the refname must contain at least one /.

allow_pattern: bool

If true, the refname may contain exactly one * character.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.