pub struct PathCreate {
pub path: String,
}Expand description
PathCreate : All attributes for creating a path.
Fields§
§path: StringThe URL path pattern, beginning with /. Maximum 2048 characters.
Implementations§
Source§impl PathCreate
impl PathCreate
Sourcepub fn new(path: String) -> PathCreate
pub fn new(path: String) -> PathCreate
All attributes for creating a path.
Trait Implementations§
Source§impl Clone for PathCreate
impl Clone for PathCreate
Source§fn clone(&self) -> PathCreate
fn clone(&self) -> PathCreate
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 PathCreate
impl Debug for PathCreate
Source§impl Default for PathCreate
impl Default for PathCreate
Source§fn default() -> PathCreate
fn default() -> PathCreate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PathCreate
impl<'de> Deserialize<'de> for PathCreate
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 PathCreate
impl PartialEq for PathCreate
Source§impl Serialize for PathCreate
impl Serialize for PathCreate
impl StructuralPartialEq for PathCreate
Auto Trait Implementations§
impl Freeze for PathCreate
impl RefUnwindSafe for PathCreate
impl Send for PathCreate
impl Sync for PathCreate
impl Unpin for PathCreate
impl UnsafeUnpin for PathCreate
impl UnwindSafe for PathCreate
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