pub struct FeedLinks {
pub timeline: Box<LinkWithType>,
pub user: Box<LinkWithType>,
pub security_advisories: Option<Box<LinkWithType>>,
pub current_user: Option<Box<LinkWithType>>,
pub current_user_public: Option<Box<LinkWithType>>,
pub current_user_actor: Option<Box<LinkWithType>>,
pub current_user_organization: Option<Box<LinkWithType>>,
pub current_user_organizations: Option<Vec<LinkWithType>>,
pub repository_discussions: Option<Box<LinkWithType>>,
pub repository_discussions_category: Option<Box<LinkWithType>>,
}
Fields§
§timeline: Box<LinkWithType>
§user: Box<LinkWithType>
§security_advisories: Option<Box<LinkWithType>>
§current_user: Option<Box<LinkWithType>>
§current_user_public: Option<Box<LinkWithType>>
§current_user_actor: Option<Box<LinkWithType>>
§current_user_organization: Option<Box<LinkWithType>>
§current_user_organizations: Option<Vec<LinkWithType>>
§repository_discussions: Option<Box<LinkWithType>>
§repository_discussions_category: Option<Box<LinkWithType>>
Implementations§
Source§impl FeedLinks
impl FeedLinks
pub fn new(timeline: LinkWithType, user: LinkWithType) -> FeedLinks
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FeedLinks
impl<'de> Deserialize<'de> for FeedLinks
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
impl StructuralPartialEq for FeedLinks
Auto Trait Implementations§
impl Freeze for FeedLinks
impl RefUnwindSafe for FeedLinks
impl Send for FeedLinks
impl Sync for FeedLinks
impl Unpin for FeedLinks
impl UnwindSafe for FeedLinks
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