[][src]Struct cloudflare_rs::endpoints::workers::WorkersRoute

pub struct WorkersRoute {
    pub id: String,
    pub pattern: String,
    pub script: Option<String>,
}

Workers KV Route Routes are basic patterns used to enable or disable workers that match requests. https://api.cloudflare.com/#worker-routes-properties

Fields

id: String

Namespace identifier tag.

pattern: String

The basic pattern that should map to the script

script: Option<String>

Name of the script to apply when the route is matched. The route is skipped when this is blank/missing.

Trait Implementations

impl ApiResult for WorkersRoute[src]

impl Clone for WorkersRoute[src]

impl Debug for WorkersRoute[src]

impl<'de> Deserialize<'de> for WorkersRoute[src]

impl Eq for WorkersRoute[src]

impl PartialEq<WorkersRoute> for WorkersRoute[src]

impl Serialize for WorkersRoute[src]

impl StructuralEq for WorkersRoute[src]

impl StructuralPartialEq for WorkersRoute[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.