pub struct PathResponse {
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub id: Option<String>,
pub path: Option<String>,
pub links: Option<HashMap<String, String>>,
}Expand description
PathResponse : All attributes for a path response.
Fields§
§created_at: Option<String>Date and time in ISO 8601 format.
updated_at: Option<String>Date and time in ISO 8601 format.
id: Option<String>Alphanumeric string identifying the path. Stable across versions of the routing config.
path: Option<String>The URL path pattern, beginning with /. Maximum 2048 characters.
links: Option<HashMap<String, String>>HATEOAS links to related resources.
Implementations§
Source§impl PathResponse
impl PathResponse
Sourcepub fn new() -> PathResponse
pub fn new() -> PathResponse
All attributes for a path response.
Trait Implementations§
Source§impl Clone for PathResponse
impl Clone for PathResponse
Source§fn clone(&self) -> PathResponse
fn clone(&self) -> PathResponse
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 PathResponse
impl Debug for PathResponse
Source§impl Default for PathResponse
impl Default for PathResponse
Source§fn default() -> PathResponse
fn default() -> PathResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PathResponse
impl<'de> Deserialize<'de> for PathResponse
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 PathResponse
impl PartialEq for PathResponse
Source§impl Serialize for PathResponse
impl Serialize for PathResponse
impl StructuralPartialEq for PathResponse
Auto Trait Implementations§
impl Freeze for PathResponse
impl RefUnwindSafe for PathResponse
impl Send for PathResponse
impl Sync for PathResponse
impl Unpin for PathResponse
impl UnsafeUnpin for PathResponse
impl UnwindSafe for PathResponse
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