pub struct SynthResponse {
pub status: u16,
pub headers: Option<BTreeMap<String, String>>,
pub body: Option<String>,
}Fields§
§status: u16§headers: Option<BTreeMap<String, String>>§body: Option<String>Trait Implementations§
Source§impl Clone for SynthResponse
impl Clone for SynthResponse
Source§fn clone(&self) -> SynthResponse
fn clone(&self) -> SynthResponse
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 SynthResponse
impl Debug for SynthResponse
Source§impl<'de> Deserialize<'de> for SynthResponse
impl<'de> Deserialize<'de> for SynthResponse
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 SynthResponse
impl PartialEq for SynthResponse
Source§impl Serialize for SynthResponse
impl Serialize for SynthResponse
impl Eq for SynthResponse
impl StructuralPartialEq for SynthResponse
Auto Trait Implementations§
impl Freeze for SynthResponse
impl RefUnwindSafe for SynthResponse
impl Send for SynthResponse
impl Sync for SynthResponse
impl Unpin for SynthResponse
impl UnsafeUnpin for SynthResponse
impl UnwindSafe for SynthResponse
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