pub struct UpdateSuggestionEngineSourceRequest {
pub suggestion_engine_id: i64,
pub source_id: i64,
pub name: Option<String>,
}
Expand description
Update a manually source from a suggestion engine
https://www.scoop.it/dev/api/1/urls#se_sources_id
Fields§
§suggestion_engine_id: i64
§source_id: i64
§name: Option<String>
Trait Implementations§
Source§impl UpdateRequest for UpdateSuggestionEngineSourceRequest
impl UpdateRequest for UpdateSuggestionEngineSourceRequest
Source§type Response = EmptyUpdateResponse
type Response = EmptyUpdateResponse
The type returned by the Scoop.it API. Read more
fn endpoint(&self) -> Cow<'static, str>
Source§fn content_type() -> &'static str
fn content_type() -> &'static str
the content type of the post request, by default
application/x-www-form-urlencoded
Source§fn body(&self) -> Result<Vec<u8>>
fn body(&self) -> Result<Vec<u8>>
The body as bytes, by default the type implementing this trait is serialized using serde_qs.
fn method(&self) -> Method
Auto Trait Implementations§
impl Freeze for UpdateSuggestionEngineSourceRequest
impl RefUnwindSafe for UpdateSuggestionEngineSourceRequest
impl Send for UpdateSuggestionEngineSourceRequest
impl Sync for UpdateSuggestionEngineSourceRequest
impl Unpin for UpdateSuggestionEngineSourceRequest
impl UnwindSafe for UpdateSuggestionEngineSourceRequest
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