pub struct StarResponse {
pub repo_id: String,
pub agent_id: String,
pub action: String,
pub star_count: i32,
}Expand description
Response from star/unstar operations.
Fields§
§repo_id: StringRepository ID
agent_id: StringAgent ID that starred/unstarred
action: StringAction: “star” or “unstar”
star_count: i32Updated star count
Trait Implementations§
Source§impl Clone for StarResponse
impl Clone for StarResponse
Source§fn clone(&self) -> StarResponse
fn clone(&self) -> StarResponse
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 StarResponse
impl Debug for StarResponse
Source§impl<'de> Deserialize<'de> for StarResponse
impl<'de> Deserialize<'de> for StarResponse
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 StarResponse
impl RefUnwindSafe for StarResponse
impl Send for StarResponse
impl Sync for StarResponse
impl Unpin for StarResponse
impl UnwindSafe for StarResponse
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