pub struct NetworkOperation {
pub function: String,
pub url_arg: ArgumentSource,
pub method: Option<String>,
pub sends_data: bool,
pub location: SourceLocation,
}Fields§
§function: Stringe.g., “requests.get”, “fetch”
url_arg: ArgumentSource§method: Option<String>GET, POST, etc.
sends_data: boolDoes it send body/params?
location: SourceLocationTrait Implementations§
Source§impl Clone for NetworkOperation
impl Clone for NetworkOperation
Source§fn clone(&self) -> NetworkOperation
fn clone(&self) -> NetworkOperation
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 NetworkOperation
impl Debug for NetworkOperation
Source§impl<'de> Deserialize<'de> for NetworkOperation
impl<'de> Deserialize<'de> for NetworkOperation
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
Auto Trait Implementations§
impl Freeze for NetworkOperation
impl RefUnwindSafe for NetworkOperation
impl Send for NetworkOperation
impl Sync for NetworkOperation
impl Unpin for NetworkOperation
impl UnsafeUnpin for NetworkOperation
impl UnwindSafe for NetworkOperation
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