pub struct PackRuleSuggestion {
pub host: String,
pub path_prefix: String,
}Expand description
Pack-rule suggestion.
Fields§
§host: StringHost matcher.
path_prefix: StringPath-prefix matcher.
Trait Implementations§
Source§impl Clone for PackRuleSuggestion
impl Clone for PackRuleSuggestion
Source§fn clone(&self) -> PackRuleSuggestion
fn clone(&self) -> PackRuleSuggestion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PackRuleSuggestion
impl Debug for PackRuleSuggestion
Source§impl<'de> Deserialize<'de> for PackRuleSuggestion
impl<'de> Deserialize<'de> for PackRuleSuggestion
Source§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
Source§impl PartialEq for PackRuleSuggestion
impl PartialEq for PackRuleSuggestion
Source§fn eq(&self, other: &PackRuleSuggestion) -> bool
fn eq(&self, other: &PackRuleSuggestion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PackRuleSuggestion
impl Serialize for PackRuleSuggestion
impl Eq for PackRuleSuggestion
impl StructuralPartialEq for PackRuleSuggestion
Auto Trait Implementations§
impl Freeze for PackRuleSuggestion
impl RefUnwindSafe for PackRuleSuggestion
impl Send for PackRuleSuggestion
impl Sync for PackRuleSuggestion
impl Unpin for PackRuleSuggestion
impl UnsafeUnpin for PackRuleSuggestion
impl UnwindSafe for PackRuleSuggestion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more