pub struct ProjectsStar {
pub starred: Option<bool>,
}Fields§
§starred: Option<bool>Starred is whether THIS caller has starred the project after the toggle — their own bookmark, not a property the project carries, so two people see two answers for one project.
Implementations§
Source§impl ProjectsStar
impl ProjectsStar
pub fn new() -> ProjectsStar
Trait Implementations§
Source§impl Clone for ProjectsStar
impl Clone for ProjectsStar
Source§fn clone(&self) -> ProjectsStar
fn clone(&self) -> ProjectsStar
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 ProjectsStar
impl Debug for ProjectsStar
Source§impl Default for ProjectsStar
impl Default for ProjectsStar
Source§fn default() -> ProjectsStar
fn default() -> ProjectsStar
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectsStar
impl<'de> Deserialize<'de> for ProjectsStar
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 ProjectsStar
impl PartialEq for ProjectsStar
Source§impl Serialize for ProjectsStar
impl Serialize for ProjectsStar
impl StructuralPartialEq for ProjectsStar
Auto Trait Implementations§
impl Freeze for ProjectsStar
impl RefUnwindSafe for ProjectsStar
impl Send for ProjectsStar
impl Sync for ProjectsStar
impl Unpin for ProjectsStar
impl UnsafeUnpin for ProjectsStar
impl UnwindSafe for ProjectsStar
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