Skip to content
View Spacebody's full-sized avatar
😅
Working
😅
Working

Organizations

@SUSTC

Block or report Spacebody

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Spacebody/README.md
impl Spacebody {
    pub fn introduce() -> Spacebody {
        Spacebody {
            name: "Jerry",
            sex: "Male",
            location: Location {
                city: "Hangzhou",
                country: "China",
            },
            profession: "BackEnd",
            emails: vec!["510662916@qq.com", "jerryzyl18@gmail.com"],
            blog: "https://blog.yilin.dev",
            skills: vec!["Spring/SpringBoot", "Microservices", "Docker"],
            languages: vec!["Java", "C/C++", "Rust"],
            hobbies: vec!["Reading", "Photography"],
            status: vec![Status::BusyForWork, Status::EnjoyHolidays, Status::SeekTrueLove].choose(&mut rand::thread_rng()).unwrap().clone(),
        }
    }
}

#[derive(Debug)]
pub struct Spacebody {
    name: &'static str,
    sex: &'static str,
    location: Location,
    profession: &'static str,
    emails: Vec<&'static str>,
    blog: &'static str,
    skills: Vec<&'static str>,
    languages: Vec<&'static str>,
    hobbies: Vec<&'static str>,
    status: Status,
}

#[derive(Debug, Copy, Clone)]
enum Status {
    BusyForWork, 
    EnjoyHolidays,
    SeekTrueLove,
}

#[derive(Debug)]
struct Location {
    city: &'static str,
    country: &'static str
}

use rand::seq::SliceRandom;

Pinned Loading

  1. AgentDeck AgentDeck Public

    专为 Claude Code、Codex 打造的额度监控、会话管理与用量分析小工具

    HTML 1