Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-rs latest

Session.created

Return when the session was created.

Source and package
Qualified name
libtmux::session::Session::created
Module
session
Declared in
Session
Package
libtmux
Source
crates/libtmux/src/session.rs
Other languages
Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp PythonRubyLua TypeScript Go Java C# C++Swift Kotlin Scala OCaml F# Clojure
#[must_use] pub fn created(&self) -> SystemTime

Description#

tmux keeps whole seconds. SessionFields::session_created filters and reads the same field as the i64 of Unix seconds tmux reports, because the query grammar compares integers.

In other ports#

When the session was created

Equivalents of When the session was created in other languages
Language Equivalent
Python libtmux.Session.session_created
Ruby LibTmux::SessionSnapshot#created
Lua libtmux.SnapshotSession.created
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript no equivalent on Session
Go tmux.Session.Created
Java no equivalent on Session
C# no equivalent on Session
C++ libtmux::Session::created
Swift Session.createdAt
OCaml No direct public OCaml equivalent is recorded for this operation.
Perl LibTmux::Session::created Schema-validated captured data; reading performs no tmux I/O.

No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference