pub struct WorkersRouteIdOnly {
pub id: String,
}Expand description
A variant of WorkersRoute returned by the CreateRoute endpoint
We could make pattern and script into Option<String> types
but it feels wrong.
Fields§
§id: StringNamespace identifier tag.
Trait Implementations§
Source§impl Clone for WorkersRouteIdOnly
impl Clone for WorkersRouteIdOnly
Source§fn clone(&self) -> WorkersRouteIdOnly
fn clone(&self) -> WorkersRouteIdOnly
Returns a duplicate of the value. Read more
1.0.0 · 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 WorkersRouteIdOnly
impl Debug for WorkersRouteIdOnly
Source§impl<'de> Deserialize<'de> for WorkersRouteIdOnly
impl<'de> Deserialize<'de> for WorkersRouteIdOnly
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<'a> Endpoint<WorkersRouteIdOnly> for DeleteRoute<'a>
impl<'a> Endpoint<WorkersRouteIdOnly> for DeleteRoute<'a>
Source§impl<'a> Endpoint<WorkersRouteIdOnly, (), CreateRouteParams> for CreateRoute<'a>
impl<'a> Endpoint<WorkersRouteIdOnly, (), CreateRouteParams> for CreateRoute<'a>
Source§impl PartialEq for WorkersRouteIdOnly
impl PartialEq for WorkersRouteIdOnly
Source§impl Serialize for WorkersRouteIdOnly
impl Serialize for WorkersRouteIdOnly
impl ApiResultTraits for WorkersRouteIdOnly
impl Eq for WorkersRouteIdOnly
impl StructuralPartialEq for WorkersRouteIdOnly
Auto Trait Implementations§
impl Freeze for WorkersRouteIdOnly
impl RefUnwindSafe for WorkersRouteIdOnly
impl Send for WorkersRouteIdOnly
impl Sync for WorkersRouteIdOnly
impl Unpin for WorkersRouteIdOnly
impl UnwindSafe for WorkersRouteIdOnly
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