Skip to main content

DailyReport

Struct DailyReport 

Source
pub struct DailyReport {
Show 22 fields pub schema_version: u32, pub sender: Sender, pub browser: Option<Browser>, pub os: Option<Os>, pub screen: Option<ScreenClass>, pub language: Option<Language>, pub folder_access: Option<bool>, pub onboarding: Vec<OnboardingStep>, pub auto_views: AutoViews, pub created_views: CreatedViews, pub edits: Edits, pub layout: Layout, pub saves: Saves, pub exports: Exports, pub checks: Checks, pub plugin_uses: Count, pub ai_rewrites: Count, pub parse_times: Vec<ParseTime>, pub wasm_load_failures: Count, pub worker_restarts: Count, pub weeks_used: Option<WeeksClass>, pub first_quarter: Option<String>,
}
Expand description

日に 1 回のまとめ。

Fields§

§schema_version: u32§sender: Sender§browser: Option<Browser>

環境。日に 1 回なので、起動の回数ではなく使われた端末の数に近い分母になる(環境はここで送る)。 型の上では任意(受け口は欠けた項目を読み飛ばす)。

§os: Option<Os>§screen: Option<ScreenClass>§language: Option<Language>§folder_access: Option<bool>§onboarding: Vec<OnboardingStep>

その日に初めて起きた、使い始めの段階(同じ段階は 1 回だけ)。

§auto_views: AutoViews

自動の図の種類ごとの表示の回数。表示の回数は、図のタブを開いた・切り替えた回数(描き直しのたびではない)。

§created_views: CreatedViews

作成した図(テキストの view)の種類ごとの表示の回数。数え方は auto_views と同じ。view の名前は送らない。

§edits: Edits

編集の意図(modelith-core の Intent の op)ごとの回数と、元に戻す・やり直す。

§layout: Layout

図の見た目だけを変える操作の回数(モデルは変わらない)。

§saves: Saves

保存先ごとの保存の回数。

§exports: Exports

エクスポートの形式ごとの回数。

§checks: Checks

チェックの実行。

§plugin_uses: Count

プラグインの機能(チェック・コマンド・エクスポートなど)を使った回数。どのプラグインかは送らない (公開の登録簿ができるまで名前を入れない。入れるときは任意の項目として足す)。

§ai_rewrites: Count

AI による書き換え(MCP)の回数。アプリが数えられるのは modelith 0.4.0 から。

§parse_times: Vec<ParseTime>

解析にかかった時間の区分ごとの回数(ファイルの大きさの区分ごと)。同じ組が 2 度あれば、受け口は足し合わせる。

§wasm_load_failures: Count

wasm を読み込めなかった回数。

§worker_restarts: Count

コアを動かす Worker が止まり、作り直した回数。

§weeks_used: Option<WeeksClass>

このブラウザで使った週の数の区分(ID を持たずに、続けて使われているかを測る)。

§first_quarter: Option<String>

このブラウザで初めて使った四半期(YYYY-Qn。例: 2026-Q4)。端末の手がかりにならないよう、月より粗くする。

Trait Implementations§

Source§

impl Clone for DailyReport

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DailyReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for DailyReport

Source§

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 Eq for DailyReport

Source§

impl PartialEq for DailyReport

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for DailyReport

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for DailyReport

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.